Skip to content

Instantly share code, notes, and snippets.

View syaikhipin's full-sized avatar

Nur Arifin Akbar syaikhipin

View GitHub Profile
@syaikhipin
syaikhipin / convert.py
Created February 8, 2024 22:00
Convert-LLM-Agridata
#!/usr/bin/env python3
import os
import sys
import fnmatch
import json
def get_ignore_list(ignore_file_path):
ignore_list = []
with open(ignore_file_path, 'r') as ignore_file:
@syaikhipin
syaikhipin / docker-compose.yaml
Created January 6, 2024 15:08
Docker Compose for Bionic GPT
version: '3'
services:
embeddings-api:
platform: linux/amd64
image: ghcr.io/huggingface/text-embeddings-inference:cpu-0.2.2
command: --model-id BAAI/bge-small-en-v1.5
extra_hosts:
- "host.docker.internal:host-gateway"
@syaikhipin
syaikhipin / Table.sol
Created June 14, 2023 15:03
Table Solidity
pragma solidity ^0.4.25;
contract TableFactory {
function openTable(string memory) public view returns (Table) {} //open table
function createTable(string memory, string memory, string memory) public returns (int256) {} //create table
}