Text Generation
GGUF
Thai
Chinese
English
chemistry
biology
finance
legal
code
medical
text-generation-inference
TensorBlock
GGUF
conversational
Instructions to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF", filename="OpenThaiLLM-Prebuilt-7B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
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 tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
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 tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
- Ollama
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF to start chatting
- Pi
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OpenThaiLLM-Prebuilt-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.OpenThaiLLM-Prebuilt-7B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- OpenThaiLLM-Prebuilt-7B-Q3_K_L.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q3_K_M.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q3_K_S.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q4_0.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q4_K_M.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q4_K_S.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q5_0.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q5_K_M.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q5_K_S.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q6_K.gguf +0 -3
- OpenThaiLLM-Prebuilt-7B-Q8_0.gguf +0 -3
OpenThaiLLM-Prebuilt-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1ba18af3dd398aa773996ab47f6f33d87bd5d85bbee456a6ca2a420be4a8e4bf
|
| 3 |
-
size 4088459552
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:229430d97d0ce598cc6820526408f16f6a1cda1c94184e157938ed2a78d7fa00
|
| 3 |
-
size 3808391456
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fd079dc387bea86c7808348b26c32cf5e66377617e5444144bf7f4c2b67bcc14
|
| 3 |
-
size 3492368672
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0da5c428c09febdd085c4919a5804aef91b61c22e9935e085539143721556f74
|
| 3 |
-
size 4431391008
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:40a77294bb4d534f6412f25584646f3d455c1873bf95ac24cde98bdff56eea73
|
| 3 |
-
size 4683073824
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:151d76ecfb5f1b264965259a4e6bc1f02f6a9e29855264120eda30f9c89cc2bd
|
| 3 |
-
size 4457769248
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:dc0bf05572a32dc7b25b2f0204f3f88b378fd2a8bf7d46177dd586448d26bbf2
|
| 3 |
-
size 5315176736
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:74afbb44452790f5cc0c963d5188518b51af2aa03adce8146f18d85fe746ea95
|
| 3 |
-
size 5444831520
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:29faafde48d02204af182e90f5f79f9f1111ac7ed7169e450d5c5d279693b401
|
| 3 |
-
size 5315176736
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e6e433b29ed675e2d50205d6896f0d72d28a371a82bd1537aea4710ff1b28808
|
| 3 |
-
size 6254199072
|
|
|
|
|
|
|
|
|
|
|
|
OpenThaiLLM-Prebuilt-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:978cf51034ac4bbe65bc08f1443ab1f59bb2fd1857fea9aec3349c3f5c6ed9ea
|
| 3 |
-
size 8098525472
|
|
|
|
|
|
|
|
|
|
|
|