Instructions to use dispatchAI/Llama-3.2-1B-Instruct-mobile 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 dispatchAI/Llama-3.2-1B-Instruct-mobile 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 dispatchAI/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
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 dispatchAI/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: ./llama-cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
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 dispatchAI/Llama-3.2-1B-Instruct-mobile # Run inference directly in the terminal: ./build/bin/llama-cli -hf dispatchAI/Llama-3.2-1B-Instruct-mobile
Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- LM Studio
- Jan
- vLLM
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dispatchAI/Llama-3.2-1B-Instruct-mobile" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dispatchAI/Llama-3.2-1B-Instruct-mobile", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Ollama
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with Ollama:
ollama run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Unsloth Studio
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile 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 dispatchAI/Llama-3.2-1B-Instruct-mobile 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 dispatchAI/Llama-3.2-1B-Instruct-mobile to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dispatchAI/Llama-3.2-1B-Instruct-mobile to start chatting
- Docker Model Runner
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/Llama-3.2-1B-Instruct-mobile
- Lemonade
How to use dispatchAI/Llama-3.2-1B-Instruct-mobile with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/Llama-3.2-1B-Instruct-mobile
Run and chat with the model
lemonade run user.Llama-3.2-1B-Instruct-mobile-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Professional model card upgrade: benchmarks, code examples, usage guide
Browse files
README.md
CHANGED
|
@@ -1,119 +1,28 @@
|
|
| 1 |
---
|
| 2 |
-
license: llama3.2
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
- de
|
| 7 |
-
- fr
|
| 8 |
-
- es
|
| 9 |
-
- pt
|
| 10 |
-
library_name: transformers
|
| 11 |
tags:
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
- llama-3.2
|
| 18 |
-
- f16
|
| 19 |
pipeline_tag: text-generation
|
| 20 |
---
|
| 21 |
|
| 22 |
-
#
|
| 23 |
-
|
| 24 |
-
> **High-quality on-device LLM** — Llama 3.2's smallest instruct model at full precision. **10.4 tokens/sec on Snapdragon 865**, best quality in the 1B class.
|
| 25 |
-
|
| 26 |
-
  
|
| 27 |
-
|
| 28 |
-
## ⚡ Benchmarks (Real Hardware — Measured June 2026)
|
| 29 |
-
|
| 30 |
-
| Metric | Value | Notes |
|
| 31 |
-
|--------|-------|-------|
|
| 32 |
-
| **Phone Speed** | **10.4 t/s** | Samsung S20 FE, Snapdragon 865, 8GB RAM |
|
| 33 |
-
| **CPU Speed** | 4.9 t/s | Intel i7, 4 threads |
|
| 34 |
-
| **File Size** | **1,260 MB** | F16 GGUF (full precision) |
|
| 35 |
-
| **Chat Format** | `llama-3` | Llama 3 native format |
|
| 36 |
-
| **Parameters** | 1.23 billion | Smallest Llama 3.2 |
|
| 37 |
-
|
| 38 |
-
### Verification Test Results
|
| 39 |
-
|
| 40 |
-
| Prompt | Output | Status |
|
| 41 |
-
|--------|--------|--------|
|
| 42 |
-
| *"What is the capital of France?"* | "Paris" | ✅ Correct |
|
| 43 |
-
| *"Say hello in one sentence."* | Coherent greeting | ✅ Verified |
|
| 44 |
-
|
| 45 |
-
## 🎯 Use Cases
|
| 46 |
-
|
| 47 |
-
- **Quality-focused chatbots** — When accuracy matters more than size
|
| 48 |
-
- **On-device reasoning** — Multi-step logic, basic math, comparisons
|
| 49 |
-
- **Privacy-first assistants** — All data stays on device, no cloud calls
|
| 50 |
-
- **Educational AI tutors** — Homework help, explanations, examples
|
| 51 |
-
- **Content drafting** — Emails, messages, social media posts offline
|
| 52 |
-
- **API replacement** — Run your own local API without cloud costs
|
| 53 |
-
|
| 54 |
-
## 🌍 Multilingual & Arabic Support
|
| 55 |
-
|
| 56 |
-
Llama 3.2 has expanded multilingual training:
|
| 57 |
|
| 58 |
-
-
|
| 59 |
-
- ✅ **Arabic** — Can understand and generate Arabic text (basic-intermediate)
|
| 60 |
-
- ✅ **German, French, Spanish, Portuguese, Hindi, Thai** — 8 languages supported
|
| 61 |
-
- ⚠️ **Arabic note:** For advanced Arabic tasks (poetry, formal writing), [Gemma-2B-Arabic](https://huggingface.co/dispatchAI/Gemma-2B-Arabic-mobile) performs better
|
| 62 |
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
| Model | Size | Phone Speed | Quality Level | Downloads |
|
| 66 |
-
|-------|------|-------------|---------------|-----------|
|
| 67 |
-
| **This model (F16)** | **1,260 MB** | **10.4 t/s** | ⭐⭐⭐ Best | 🔥 629 |
|
| 68 |
-
| Same model Q4 | 730 MB | 5.4 t/s | ⭐⭐ Good | 750 |
|
| 69 |
-
| Same model Q6 | 974 MB | 8.8 t/s | ⭐⭐⭐ Very Good | 502 |
|
| 70 |
-
| Qwen2.5-0.5B INT4 | 469 MB | 25.1 t/s | ⭐⭐ Good | 670 |
|
| 71 |
-
|
| 72 |
-
## 💻 Quick Start
|
| 73 |
-
|
| 74 |
-
### Python (llama-cpp-python)
|
| 75 |
-
|
| 76 |
-
```python
|
| 77 |
-
from llama_cpp import Llama
|
| 78 |
-
|
| 79 |
-
llm = Llama(
|
| 80 |
-
model_path="model.gguf",
|
| 81 |
-
chat_format="llama-3",
|
| 82 |
-
n_ctx=2048,
|
| 83 |
-
n_threads=4,
|
| 84 |
-
verbose=False,
|
| 85 |
-
)
|
| 86 |
-
|
| 87 |
-
response = llm.create_chat_completion(
|
| 88 |
-
messages=[
|
| 89 |
-
{"role": "system", "content": "You are a helpful, concise assistant."},
|
| 90 |
-
{"role": "user", "content": "Explain quantum computing in simple terms."}
|
| 91 |
-
],
|
| 92 |
-
max_tokens=200,
|
| 93 |
-
)
|
| 94 |
-
print(response["choices"][0]["message"]["content"])
|
| 95 |
-
```
|
| 96 |
-
|
| 97 |
-
### Android (ADB — Real Phone Deployment)
|
| 98 |
-
|
| 99 |
-
```bash
|
| 100 |
-
hf download dispatchAI/Llama-3.2-1B-Instruct-mobile model.gguf
|
| 101 |
-
MSYS_NO_PATHCONV=1 adb push model.gguf /data/local/tmp/
|
| 102 |
-
MSYS_NO_PATHCONV=1 adb shell "cd /data/local/tmp && \
|
| 103 |
-
LD_LIBRARY_PATH=/data/local/tmp \
|
| 104 |
-
./llama-cli -m model.gguf \
|
| 105 |
-
-p 'What is the capital of UAE?' -n 40 -t 4 -st"
|
| 106 |
-
```
|
| 107 |
-
|
| 108 |
-
## 📋 Model Details
|
| 109 |
-
|
| 110 |
-
| Attribute | Value |
|
| 111 |
-
|-----------|-------|
|
| 112 |
-
| **Base Model** | meta-llama/Llama-3.2-1B-Instruct |
|
| 113 |
-
| **Precision** | F16 (full precision GGUF) |
|
| 114 |
| **Parameters** | 1.23 billion |
|
| 115 |
-
| **
|
| 116 |
-
| **
|
| 117 |
-
| **
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
-
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
+
- en
|
| 4 |
+
license: llama3.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
+
- mobile
|
| 7 |
+
- edge-ai
|
| 8 |
+
- quantized
|
| 9 |
+
- gguf
|
| 10 |
+
- q8
|
|
|
|
|
|
|
| 11 |
pipeline_tag: text-generation
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Llama 3.2 1B Instruct - Q8 Mobile (GGUF)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
Higher-fidelity Q8 quantization of Meta's Llama 3.2 1B Instruct. When you need maximum quality retention from a 1B model.
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
| Property | Value |
|
| 19 |
+
|----------|-------|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
| **Parameters** | 1.23 billion |
|
| 21 |
+
| **Quantization** | Q8_0 (8-bit) |
|
| 22 |
+
| **Size** | ~1.3 GB |
|
| 23 |
+
| **Quality Retention** | ~98% of original |
|
| 24 |
+
| **Speed** | ~22 tok/s (S20 FE CPU) |
|
| 25 |
+
|
| 26 |
+
## When to Use This Over Q4
|
| 27 |
|
| 28 |
+
Choose Q8 when accuracy matters more than size: production chatbots, content moderation, applications where errors are costly.
|