Instructions to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-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 Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
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 Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
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 Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
Use Docker
docker model run hf.co/Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Float16-cloud/llama3.2-typhoon2-1b-instruct-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": "Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
- Ollama
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with Ollama:
ollama run hf.co/Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
- Unsloth Desktop
- Pi
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with Docker Model Runner:
docker model run hf.co/Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
- Lemonade
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
Run and chat with the model
lemonade run user.llama3.2-typhoon2-1b-instruct-gguf-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
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 Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload 9 files
Browse files- .gitattributes +8 -0
- README.md +42 -0
- llama3.2-typhoon2-1b-instruct-fp16.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-iq4_nl.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-q4_0.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-q4_k_m.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-q5_0.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-q5_k_m.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-q6_k.gguf +3 -0
- llama3.2-typhoon2-1b-instruct-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
llama3.2-typhoon2-1b-instruct-fp16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
llama3.2-typhoon2-1b-instruct-iq4_nl.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
llama3.2-typhoon2-1b-instruct-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
llama3.2-typhoon2-1b-instruct-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
llama3.2-typhoon2-1b-instruct-q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
llama3.2-typhoon2-1b-instruct-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
llama3.2-typhoon2-1b-instruct-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
llama3.2-typhoon2-1b-instruct-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama3.2
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
base_model: scb10x/llama3.2-typhoon2-1b-instruct
|
| 5 |
+
tags:
|
| 6 |
+
- llama-cpp
|
| 7 |
+
- gguf-my-repo
|
| 8 |
+
---
|
| 9 |
+
# Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf
|
| 10 |
+
This model was converted to GGUF format from [`scb10x/llama3.2-typhoon2-1b-instruct`](https://huggingface.co/scb10x/llama3.2-typhoon2-1b-instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
| 11 |
+
Refer to the [original model card](https://huggingface.co/scb10x/llama3.2-typhoon2-1b-instruct) for more details on the model.
|
| 12 |
+
## Use with llama.cpp
|
| 13 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
| 14 |
+
```bash
|
| 15 |
+
brew install llama.cpp
|
| 16 |
+
```
|
| 17 |
+
Invoke the llama.cpp server or the CLI.
|
| 18 |
+
### CLI:
|
| 19 |
+
```bash
|
| 20 |
+
llama-cli --hf-repo Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf --hf-file llama3.2-typhoon2-1b-instruct-iq4_nl.gguf -p "The meaning to life and the universe is"
|
| 21 |
+
```
|
| 22 |
+
### Server:
|
| 23 |
+
```bash
|
| 24 |
+
llama-server --hf-repo Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf --hf-file llama3.2-typhoon2-1b-instruct-iq4_nl.gguf -c 2048
|
| 25 |
+
```
|
| 26 |
+
Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
|
| 27 |
+
Step 1: Clone llama.cpp from GitHub.
|
| 28 |
+
```
|
| 29 |
+
git clone https://github.com/ggerganov/llama.cpp
|
| 30 |
+
```
|
| 31 |
+
Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
|
| 32 |
+
```
|
| 33 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
| 34 |
+
```
|
| 35 |
+
Step 3: Run inference through the main binary.
|
| 36 |
+
```
|
| 37 |
+
./llama-cli --hf-repo Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf --hf-file llama3.2-typhoon2-1b-instruct-iq4_nl.gguf -p "The meaning to life and the universe is"
|
| 38 |
+
```
|
| 39 |
+
or
|
| 40 |
+
```
|
| 41 |
+
./llama-server --hf-repo Float16-cloud/llama3.2-typhoon2-1b-instruct-gguf --hf-file llama3.2-typhoon2-1b-instruct-iq4_nl.gguf -c 2048
|
| 42 |
+
```
|
llama3.2-typhoon2-1b-instruct-fp16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0869a626da4ebdc3e131f6005ac4ea32b5063279c5cc7bbc8ed4083921f0e9b3
|
| 3 |
+
size 2479593632
|
llama3.2-typhoon2-1b-instruct-iq4_nl.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c9e8cf35be920573e639c8ce57fe80d30f90c7f05e4e54e796fd6b8bda4ee7a
|
| 3 |
+
size 777218208
|
llama3.2-typhoon2-1b-instruct-q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe2cc3c3736a8903a5037460fbb1b4329f2b0de92043cfd80be53d5691cbfc53
|
| 3 |
+
size 770926752
|
llama3.2-typhoon2-1b-instruct-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b436d594fd08ea71cc16ddf08036f0e4184355062c69bdca6803e858bbfb0722
|
| 3 |
+
size 807692448
|
llama3.2-typhoon2-1b-instruct-q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b87513cad887ce050cbc7f5a74895dc2c4f52d9c7aa7233fe04b5bc1bd329fcf
|
| 3 |
+
size 892561568
|
llama3.2-typhoon2-1b-instruct-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a45d8f1609497a7da38dc764c23aae214991825df22152d6c3c491fdd7fd2082
|
| 3 |
+
size 911501472
|
llama3.2-typhoon2-1b-instruct-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef3c28543227357608c289e2b3b0eed01bd465c7cd1d433f3f882943c4cb2afa
|
| 3 |
+
size 1021798560
|
llama3.2-typhoon2-1b-instruct-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5cc85781e31067b9cff450e8779a249ab0638605833ad6150197fd5c92087ce5
|
| 3 |
+
size 1321080992
|