3morixd's picture
Upload README.md with huggingface_hub
f10f9f0 verified
|
Raw
History Blame Contribute Delete
1.34 kB
---
license: llama3.2
language:
- en
library_name: transformers
tags:
- mobile
- on-device
- quantized
- gguf
- dispatchai
pipeline_tag: text-generation
---
# Llama-3.2-3B-FunctionCall-mobile
βœ… **WORKS** β€” Verified June 2026.
## Verification Results
| Prompt | Response | Correct? |
|--------|----------|----------|
| What is the capital of France? | "The capital of France is Paris." | βœ… |
| Say hello in one sentence. | "I'm happy to help you with any questions or tasks you may ha" | βœ… |
## Model Details
| Attribute | Value |
|-----------|-------|
| **Base Model** | meta-llama/Llama-3.2-3B-Instruct |
| **File Size** | 1926 MB |
| **Format** | GGUF |
| **Chat Format** | llama-3 |
| **CPU Speed** | 9.1 tokens/sec |
| **License** | llama3.2 |
## Usage
```python
from llama_cpp import Llama
llm = Llama(model_path="model.gguf", chat_format="llama-3", n_ctx=512, n_threads=4, verbose=False)
response = llm.create_chat_completion(
messages=[{"role": "user", "content": "What is the capital of France?"}],
max_tokens=50,
)
print(response["choices"][0]["message"]["content"])
```
### dispatchAI SDK
```python
from dispatchai import load_model
model = load_model("Llama-3.2-3B-FunctionCall-mobile", backend="gguf")
print(model.chat("Hello!"))
```
πŸš€ [dispatchAI](https://huggingface.co/dispatchAI)