Instructions to use iromu/Qwen2.5-1.5B-tools-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 iromu/Qwen2.5-1.5B-tools-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 iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf iromu/Qwen2.5-1.5B-tools-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 iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
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 iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
Use Docker
docker model run hf.co/iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use iromu/Qwen2.5-1.5B-tools-GGUF with Ollama:
ollama run hf.co/iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use iromu/Qwen2.5-1.5B-tools-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf iromu/Qwen2.5-1.5B-tools-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": "iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use iromu/Qwen2.5-1.5B-tools-GGUF with Docker Model Runner:
docker model run hf.co/iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
- Lemonade
How to use iromu/Qwen2.5-1.5B-tools-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2.5-1.5B-tools-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use iromu/Qwen2.5-1.5B-tools-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 iromu/Qwen2.5-1.5B-tools-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 iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use iromu/Qwen2.5-1.5B-tools-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf iromu/Qwen2.5-1.5B-tools-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 "iromu/Qwen2.5-1.5B-tools-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"
Qwen2.5-1.5B Tools GGUF
The Qwen2.5-1.5B tool-calling model in GGUF format, fine-tuned for tool calling and agent-style interactions.
Base model
This model was fine-tuned from:
unsloth/Qwen2.5-1.5B-Instruct
GGUF files
The model is provided in GGUF format at the following precisions:
| Precision | File |
|---|---|
| BF16 | Qwen2.5-1.5B-tools-BF16.gguf (original precision) |
| Q4_K_M | Qwen2.5-1.5B-tools-Q4_K_M.gguf |
| Q5_K_M | Qwen2.5-1.5B-tools-Q5_K_M.gguf |
| Q8_0 | Qwen2.5-1.5B-tools-Q8_0.gguf |
Training
Training was performed using NVIDIA NeMo AutoModel with LoRA/PEFT.
LoRA configuration
- LoRA rank (
dim): 32 - LoRA alpha: 32
- LoRA dropout: 0.05
- Target modules:
*.proj
Training configuration
- Sequence length: 4096
- Micro batch size: 2
- Gradient accumulation: 32
- Effective batch size: 64
- Steps: 501
- Learning rate: 1e-5
- Weight decay: 0.01
- Optimizer: AdamW
- Loss: masked cross entropy
- Reasoning content masking: disabled
Dataset
The model was trained on the sft_tools portion of:
r0b0tlab/qwen3.8-max-glm5.2-kimi-k3-distillation
The dataset contains tool/agent interaction examples.
Intended use
This model is intended for:
- tool calling
- function calling
- agent workflows
- structured tool interactions
- local AI assistants
- lightweight local inference
It is not intended to be a general replacement for larger Qwen models.
GGUF versions
The model is available in GGUF format at:
- BF16
- Q8_0
- Q5_K_M
- Q4_K_M
Jetson Nano
Q4_K_M is the recommended starting point for low-memory systems such as the Jetson Nano.
For higher-memory systems, use Q5_K_M or Q8_0 where practical.
Usage with llama.cpp
Example:
llama-cli \
-hf iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M \
--n-gpu-layers 99 \
--ctx-size 1024 \
-p "You are a home assistant. Convert user requests into JSON tool calls. User: turn on kitchen lights"
llama-server \
-hf iromu/Qwen2.5-1.5B-tools-GGUF:Q4_K_M \
--jinja \
--n-gpu-layers 99 \
--ctx-size 4096 \
--host 0.0.0.0 \
--port 8080
Validation matrix
Tool-calling validation on the sft_tools validation split (greedy decoding, 384 max new tokens). Throughput is single-stream greedy decode, not serving throughput.
Pretrained base (unsloth/Qwen2.5-1.5B-Instruct): 8.8% exact-args match (24/274). Fine-tuned (BF16): 0.7% exact-args match (2/274) (-8pp vs base).
- GGUF-BF16: 2/274 (0.7%) exact, 88.6 tok/s โ 100% of BF16.
- GGUF-Q4_K_M: 3/274 (1.1%) exact, 142.9 tok/s โ 150% of BF16.
- GGUF-Q5_K_M: 6/274 (2.2%) exact, 131.4 tok/s โ 300% of BF16.
- GGUF-Q8_0: 2/274 (0.7%) exact, 115.3 tok/s โ 100% of BF16.
| Model | Quant | n | Tool call emitted | Names match | Exact args match | ฮ exact vs BASE | tok/s |
|---|---|---|---|---|---|---|---|
| Qwen2.5-1.5B-tools | BASE (unsloth/Qwen2.5-1.5B-Instruct) | 274 | 272/274 (99.3%) | 59/274 (21.5%) | 24/274 (8.8%) | โ | 40.6 |
| Qwen2.5-1.5B-tools | BF16 | 274 | 258/274 (94.2%) | 216/274 (78.8%) | 2/274 (0.7%) | -8pp | 38.0 |
| Qwen2.5-1.5B-tools | GGUF-BF16 | 274 | 272/274 (99.3%) | 167/274 (60.9%) | 2/274 (0.7%) | -8pp | 88.6 |
| Qwen2.5-1.5B-tools | GGUF-Q4_K_M | 274 | 248/274 (90.5%) | 49/274 (17.9%) | 3/274 (1.1%) | -7.7pp | 142.9 |
| Qwen2.5-1.5B-tools | GGUF-Q5_K_M | 274 | 260/274 (94.9%) | 79/274 (28.8%) | 6/274 (2.2%) | -6.6pp | 131.4 |
| Qwen2.5-1.5B-tools | GGUF-Q8_0 | 274 | 271/274 (98.9%) | 187/274 (68.2%) | 2/274 (0.7%) | -8pp | 115.3 |
- Downloads last month
- 106
4-bit
5-bit
8-bit
16-bit
Model tree for iromu/Qwen2.5-1.5B-tools-GGUF
Base model
Qwen/Qwen2.5-1.5B