Instructions to use tensorblock/typhoon-7b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/typhoon-7b-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/typhoon-7b-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/typhoon-7b-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/typhoon-7b-GGUF 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 tensorblock/typhoon-7b-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/typhoon-7b-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/typhoon-7b-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/typhoon-7b-GGUF:Q2_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tensorblock/typhoon-7b-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf tensorblock/typhoon-7b-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/typhoon-7b-GGUF:Q2_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use tensorblock/typhoon-7b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/typhoon-7b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/typhoon-7b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/typhoon-7b-GGUF:Q2_K
- SGLang
How to use tensorblock/typhoon-7b-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/typhoon-7b-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/typhoon-7b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/typhoon-7b-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/typhoon-7b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use tensorblock/typhoon-7b-GGUF with Ollama:
ollama run hf.co/tensorblock/typhoon-7b-GGUF:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use tensorblock/typhoon-7b-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/typhoon-7b-GGUF:Q2_K
- Lemonade
How to use tensorblock/typhoon-7b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/typhoon-7b-GGUF:Q2_K
Run and chat with the model
lemonade run user.typhoon-7b-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Keep Q2_K/Q3_K_M gguf only
Browse files- typhoon-7b-Q3_K_L.gguf +0 -3
- typhoon-7b-Q3_K_S.gguf +0 -3
- typhoon-7b-Q4_0.gguf +0 -3
- typhoon-7b-Q4_K_M.gguf +0 -3
- typhoon-7b-Q4_K_S.gguf +0 -3
- typhoon-7b-Q5_0.gguf +0 -3
- typhoon-7b-Q5_K_M.gguf +0 -3
- typhoon-7b-Q5_K_S.gguf +0 -3
- typhoon-7b-Q6_K.gguf +0 -3
- typhoon-7b-Q8_0.gguf +0 -3
typhoon-7b-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8fa7bd0014c5164abb6e2c760c74bb67b01ca742cedf723109ce4e96448e32d0
|
| 3 |
-
size 3838597792
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a8841232b57ac770ca1f32737122bc389a5b0dba970f971bbf4083c4f8f7f1c5
|
| 3 |
-
size 3181140640
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:63be4df7ddfa87bf6d2b5b0f3e5fda0cfa3c2a50123662f2abe0173b788477b0
|
| 3 |
-
size 4127240960
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3fd0b8549ff6240d7d9eb86820ef9e0a708d3672b94f83a51b74e50a3234f9c3
|
| 3 |
-
size 4386763520
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:83fa9b597cac885939a320eaf6a0fc4dfb570ffef4d6cbbaf03804b8442c3267
|
| 3 |
-
size 4158698240
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cab9becd7972697f526458374256dcfaffd7c232055efd6a860c8d10345eea10
|
| 3 |
-
size 5017688320
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fe85871cf70d9eb5ddaa6ad3de66b54379fd811991c68d2f55b1c02b1f63c9d2
|
| 3 |
-
size 5151381760
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:44da3defb6ef8dac4f7a4bee30b278d2611b84ccdb89b219ac5be05efd43b055
|
| 3 |
-
size 5017688320
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:38d68ee28135db0b9e3b88cc3533cbf58dbfc71c153d2fc7faa57f8a7d03be68
|
| 3 |
-
size 5963788640
|
|
|
|
|
|
|
|
|
|
|
|
typhoon-7b-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bc6f7188d224b89e5cf20871af9234b9e2b9e9c53e3be005362f6081c2975d9a
|
| 3 |
-
size 7723967648
|
|
|
|
|
|
|
|
|
|
|
|