Instructions to use saksornr/openthaigpt-1.0.0-7b-chat-text2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saksornr/openthaigpt-1.0.0-7b-chat-text2sql with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("saksornr/openthaigpt-1.0.0-7b-chat-text2sql", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use saksornr/openthaigpt-1.0.0-7b-chat-text2sql with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S # Run inference directly in the terminal: llama cli -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S # Run inference directly in the terminal: llama cli -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
Use Docker
docker model run hf.co/saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
- LM Studio
- Jan
- Ollama
How to use saksornr/openthaigpt-1.0.0-7b-chat-text2sql with Ollama:
ollama run hf.co/saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
- Unsloth Desktop
- Docker Model Runner
How to use saksornr/openthaigpt-1.0.0-7b-chat-text2sql with Docker Model Runner:
docker model run hf.co/saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
- Lemonade
How to use saksornr/openthaigpt-1.0.0-7b-chat-text2sql with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull saksornr/openthaigpt-1.0.0-7b-chat-text2sql:Q4_K_S
Run and chat with the model
lemonade run user.openthaigpt-1.0.0-7b-chat-text2sql-Q4_K_S
List all available models
lemonade list
- Atomic Chat
- Xet hash:
- ea31f021f487b88fbfdb9b7016391ee2e4ad8c6a6846b253c231349ead48f193
- Size of remote file:
- 3.91 GB
- SHA256:
- 6269b66ca151f5dcb073619185add68923732da44c04aebb6094228f4cce637b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.