Instructions to use dispatchAI/Llama-3.2-3B-FunctionCall-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-3B-FunctionCall-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-3B-FunctionCall-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-3B-FunctionCall-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-3B-FunctionCall-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Llama-3.2-3B-FunctionCall-mobile
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 dispatchAI/Llama-3.2-3B-FunctionCall-mobile # Run inference directly in the terminal: ./build/bin/llama cli -hf dispatchAI/Llama-3.2-3B-FunctionCall-mobile
Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-3B-FunctionCall-mobile
- Llama new
- LM Studio
- Jan
- vLLM
How to use dispatchAI/Llama-3.2-3B-FunctionCall-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-3B-FunctionCall-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-3B-FunctionCall-mobile", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dispatchAI/Llama-3.2-3B-FunctionCall-mobile
- Ollama
How to use dispatchAI/Llama-3.2-3B-FunctionCall-mobile with Ollama:
ollama run hf.co/dispatchAI/Llama-3.2-3B-FunctionCall-mobile
- Unsloth Desktop
- Docker Model Runner
How to use dispatchAI/Llama-3.2-3B-FunctionCall-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/Llama-3.2-3B-FunctionCall-mobile
- Lemonade
How to use dispatchAI/Llama-3.2-3B-FunctionCall-mobile with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/Llama-3.2-3B-FunctionCall-mobile
Run and chat with the model
lemonade run user.Llama-3.2-3B-FunctionCall-mobile-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Add model card with phone farm benchmark results
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: MB20261/Llama32-3B-Instruct-function-calling-1M
|
| 4 |
+
tags:
|
| 5 |
+
- dispatch-ai
|
| 6 |
+
- mobile
|
| 7 |
+
- quantized
|
| 8 |
+
- gguf
|
| 9 |
+
- phone-farm-tested
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Llama-3.2-3B-FunctionCall-mobile
|
| 16 |
+
|
| 17 |
+
**Dispatch AI** — Built for mobile. Tested on real phones.
|
| 18 |
+
|
| 19 |
+
## Category
|
| 20 |
+
|
| 21 |
+
Function Calling — On-device tool use & agents
|
| 22 |
+
|
| 23 |
+
## Model
|
| 24 |
+
|
| 25 |
+
Re-engineered from [MB20261/Llama32-3B-Instruct-function-calling-1M](https://huggingface.co/MB20261/Llama32-3B-Instruct-function-calling-1M).
|
| 26 |
+
Quantized to Q4_K_M GGUF for on-device inference via llama.cpp.
|
| 27 |
+
Size: 1926 MB.
|
| 28 |
+
|
| 29 |
+
## Phone Farm Test Results
|
| 30 |
+
|
| 31 |
+
Tested on **Samsung Galaxy S20 FE 5G** (Snapdragon 865, 8GB RAM):
|
| 32 |
+
|
| 33 |
+
| Phone | Gen t/s | Prompt t/s |
|
| 34 |
+
|-------|---------|------------|
|
| 35 |
+
| R3CN509PLHA | 9.5 | 27.1 |
|
| 36 |
+
| R3CN50A0HSV | 9.9 | 28.4 |
|
| 37 |
+
|
| 38 |
+
- **Average: 9.7 t/s**
|
| 39 |
+
- **40-phone aggregate: ~388 t/s**
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
./llama-cli -m model.gguf -p "Hello" -n 100 -t 4 -c 512
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
🌐 [dispatchAI on HuggingFace](https://huggingface.co/dispatchAI)
|