Instructions to use madebywest/voltron-1.1-mini-QAD 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 madebywest/voltron-1.1-mini-QAD 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 madebywest/voltron-1.1-mini-QAD:Q4_0 # Run inference directly in the terminal: llama cli -hf madebywest/voltron-1.1-mini-QAD:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf madebywest/voltron-1.1-mini-QAD:Q4_0 # Run inference directly in the terminal: llama cli -hf madebywest/voltron-1.1-mini-QAD:Q4_0
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 madebywest/voltron-1.1-mini-QAD:Q4_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf madebywest/voltron-1.1-mini-QAD:Q4_0
Use Docker
docker model run hf.co/madebywest/voltron-1.1-mini-QAD:Q4_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use madebywest/voltron-1.1-mini-QAD with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "madebywest/voltron-1.1-mini-QAD" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "madebywest/voltron-1.1-mini-QAD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/madebywest/voltron-1.1-mini-QAD:Q4_0
- Ollama
How to use madebywest/voltron-1.1-mini-QAD with Ollama:
ollama run hf.co/madebywest/voltron-1.1-mini-QAD:Q4_0
- Unsloth Desktop
- Pi
How to use madebywest/voltron-1.1-mini-QAD with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madebywest/voltron-1.1-mini-QAD:Q4_0
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "madebywest/voltron-1.1-mini-QAD:Q4_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use madebywest/voltron-1.1-mini-QAD with Docker Model Runner:
docker model run hf.co/madebywest/voltron-1.1-mini-QAD:Q4_0
- Lemonade
How to use madebywest/voltron-1.1-mini-QAD with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull madebywest/voltron-1.1-mini-QAD:Q4_0
Run and chat with the model
lemonade run user.voltron-1.1-mini-QAD-Q4_0
List all available models
lemonade list
- Hermes Agent
How to use madebywest/voltron-1.1-mini-QAD with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madebywest/voltron-1.1-mini-QAD:Q4_0
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:9931/v1 hermes config set model.default madebywest/voltron-1.1-mini-QAD:Q4_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use madebywest/voltron-1.1-mini-QAD with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madebywest/voltron-1.1-mini-QAD:Q4_0
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:9931/v1 \ --custom-model-id "madebywest/voltron-1.1-mini-QAD:Q4_0" \ --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"
Voltron-1.1 Mini โ QAD Q4_0 (GGUF)
A Q4_0 GGUF of Voltron-1.1 Mini (a reasoning fine-tune of LiquidAI/LFM3-1.7B) made with quantization-aware distillation, so that it keeps much more of the original model than a plain Q4_0 conversion.
Built to run in the browser with wllama (WebGPU) or anywhere llama.cpp runs.
| File | Size | Format |
|---|---|---|
voltron-1.1-mini-QAD-v2-Q4_0.gguf |
1.39 GB | GGUF Q4_0 |
What is different from a normal Q4_0
A normal quantization compresses the weights after training and loses quality. Here the model was re-trained while already compressed: the original Voltron acted as a teacher, and a copy of it learned to reproduce the teacher's next-token distribution with Q4_0 weights and Q8_0 activations simulated in the loop, using the exact llama.cpp Q4_0 numerics. The trained function is literally the function the GGUF file runs, so nothing is lost at export (the checkpoint is converted through FP32).
| Version | Error vs. original (KL, lower is better) | Same top token as original |
|---|---|---|
| Plain Q4_0 (post-training) | 0.258 | 81.8 % |
| QAD Q4_0, run 1 (4M tokens) | 0.129 | 86.2 % |
| QAD Q4_0, run 2 (this file, +5.5M tokens) | 0.109 | 87.1 % |
Measured with the same 44 held-out chat/text sequences (about 22k tokens) for every row: KL divergence between the FP32 original and the quantized model at every position. These are fidelity numbers, not task benchmarks โ no math or code benchmark was run.
Tensor layout
| Tensors | Type |
|---|---|
| 153 linear weights (attention, conv projections, MLP) | Q4_0 |
token_embd.weight, output.weight (untied head) |
Q8_0 |
| Norms and short-conv kernels | FP32 (as in the original) |
The untied output head is kept at Q8_0 on purpose: it carries the reasoning behaviour. This is why the file is 1.39 GB instead of ~1.30 GB.
Usage
llama.cpp
llama-cli -m voltron-1.1-mini-QAD-v2-Q4_0.gguf -p "..." -n 256 --temp 0.1 --top-k 50 --repeat-penalty 1.1
wllama (browser)
wllama recommends Q4/Q5/Q6 GGUF files and this is a standard one:
import { Wllama } from '@wllama/wllama';
const wllama = new Wllama(await Wllama.loadConfig('/path/to/wllama/esm'));
const modelUrl = 'https://your-host/voltron-1.1-mini-QAD-v2-Q4_0.gguf';
await wllama.loadModel(modelUrl); // add progressCallback for the 1.39 GB download
const prompt =
'<|startoftext|><|im_start|>user\nHow do I boil an egg?<|im_end|>\n' +
'<|im_start|>assistant\n<think></think>\n\n'; // thinking OFF
const out = await wllama.createCompletion(prompt, {
nPredict: 256, temperature: 0.1, topK: 50, repeatPenalty: 1.1,
stopSequences: ['<|im_end|>'],
});
The file is ~1.39 GB: serve it with HTTP compression disabled for .gguf, show a progress bar, and let wllama cache it (it resumes interrupted downloads).
Prompt format
ChatML style with a BOS token:
<|startoftext|><|im_start|>system
{text}<|im_end|>
<|im_start|>user
{text}<|im_end|>
<|im_start|>assistant
{reply}<|im_end|>
Stop token: <|im_end|>.
Thinking on / off
Voltron writes a <think>โฆ</think> trace before answering. It has no effort levels, only on or off, controlled by how the assistant turn starts:
| Mode | End the prompt with | When |
|---|---|---|
| Thinking off | `< | im_start |
| Thinking on | `< | im_start |
On low-end phones and old PCs keep thinking off by default and cap nPredict: the long reasoning trace, not the model size, is what makes responses slow.
Recommended sampling
From the original generation_config.json: temperature 0.1, top-k 50, repetition penalty 1.1.
How it was made
- Teacher: Voltron-1.1 Mini, original weights.
- Student: the same weights plus a low-rank (r = 64) trainable update; every forward pass used the exact GGUF Q4_0 weight quantization and Q8_0 activation quantization (straight-through estimator).
- Loss: forward KL between teacher and student at every token, on text rendered with the model's own chat template.
- Data: ~9.5M tokens of public text (instruction/chat, math reasoning traces, code, tool calling, multilingual reasoning, Italian Wikipedia). No labels or generation needed: the teacher provides the targets.
- Hardware: 2ร NVIDIA T4 on Kaggle, about 15 hours in two runs (the second resumed from the first).
- Export: FP32 checkpoint โ
convert_hf_to_gguf.pyโllama-quantize Q4_0 --token-embedding-type q8_0 --output-tensor-type q8_0.
Limitations
- Fidelity was measured on chat-style text only; real-world quality on math, code and tool use was not benchmarked.
- The model is still improving with more tokens: the error was still going down when training stopped.
- A 2B reasoning model: expect it to be weak on long, complex problems regardless of quantization.
- English is the main language; Italian is understood but was a small share of the data.
License
Voltron-1.1 Mini is a fine-tune of LFM3-1.7B and inherits the LFM Open License (free to use for organisations with less than USD 10M in annual revenue; see the full text). This file is a derived work and carries the same terms.
Credits
- Voltron-1.1 Mini by Akahsizrr
- LFM3-1.7B by Liquid AI
- Quantization-aware training code inspired by Liquid AI's liquid-finetune (QAT
gguf_q4_0); the Q4_0/Q8_0 numerics are vendored from it (MIT) - llama.cpp for conversion, quantization and inference
- Downloads last month
- -
4-bit
Model tree for madebywest/voltron-1.1-mini-QAD
Base model
LiquidAI/LFM3-1.7B-Base