Atoshi Decision Model (Qwen3-0.6B · Q8_0 GGUF + LoRA)
Post-trained 596M-parameter System-One Decision Model for Atoshi (an open-source, privacy-preserving on-device Digital Twin built in Rust).
Distilled on Distil Labs from zai.glm-5.3-low-thinking (2,172 validated synthetic examples across two targeted iterations) and quantized to 610 MB Q8_0 GGUF for 100% offline Apple Silicon / Linux CPU+GPU inference via llama-server.
Benchmark & Calibration Results (120 Held-Out Hard-Negative Rows)
| Model / Backend | Size | Exact Match (binary) | Slice Acc (Intent / Site / Ask) | Calibration (ECE ↓) | Median Latency (M4 Metal) |
|---|---|---|---|---|---|
Untuned Base Qwen/Qwen3-0.6B | bf16 | 27/120 (22.5%) | — | — | — |
| Naive Domain / Keyword Rules | — | 53/120 (44.2%) | — | 0.103 | < 1 ms |
Iter 1: Qwen3-0.6B (1,527 rows) | 610 MB Q8_0 | 105/120 (87.5%) | 91.7% / 75.0% / 87.5% | 0.046 (T=2.20) | 137 ms |
Iter 2 (This Release): Qwen3-0.6B (2,172 rows) | 610 MB Q8_0 | 112/120 (93.3%) | 95.8% / 83.3% / 95.8% | 0.037 (T=1.80, raw 0.053) | 131 ms |
Frontier Teacher (zai.glm-5.3-low-thinking) | Frontier | 94.6% (2-run mean) | — | — | 98.2% teacher gap closed |
- Zero quantization drop:
Q8_0GGUF (112/120 = 93.3%) matchesbfloat16vLLM (112/120 = 93.3%) with 0.0pp accuracy loss. - Single-token SemIf
top_logprobs: Reads option letter log-probabilities (A–P) in a single forward pass (max_tokens: 1,0prose tokens wasted) and applies temperature scaling (T = 1.80incalibration.json) for honest downstream Confidence.
Included Files
atoshi-decision-q8_0.gguf(610 MB) — Merged &Q8_0-quantized GGUF (rope_theta = 1000000preserved forllama.cpp).qwen3_nothink.jinja— Minimalminja-compatible ChatML template that prefills<think>\n\n</think>\n\nso token 1 is always the uppercase option letter (A–P).calibration.json— Fitted SemIf temperature scalar ("temperature": 1.80,"ece": 0.037).lora-adapter/— Original PEFT LoRA adapter (r=64,lora_alpha=64overQwen/Qwen3-0.6B).LICENSE,STUDENT_LICENSE(Apache-2.0),TEACHER_LICENSE(MIT).
Quickstart with llama.cpp (llama-server)
# 1. Download GGUF + no-think template
curl -fL -O https://huggingface.co/abrarfahim19/atoshi-decision-qwen3-0.6b-gguf/resolve/main/atoshi-decision-q8_0.gguf
curl -fL -O https://huggingface.co/abrarfahim19/atoshi-decision-qwen3-0.6b-gguf/resolve/main/qwen3_nothink.jinja
# 2. Serve 100% offline on localhost:8080
llama-server -m atoshi-decision-q8_0.gguf -fa --rope-freq-base 1000000 \
--jinja --chat-template-file qwen3_nothink.jinja --host 127.0.0.1 --port 8080
Or inside the Atoshi repository (downloads & starts automatically):
./distil/scripts/serve_offline.sh
target/release/atoshi backend distil
License
- Base Student (
Qwen/Qwen3-0.6B): Apache-2.0 (STUDENT_LICENSE). - Synthetic Data Teacher (
zai.glm-5.3): MIT (TEACHER_LICENSE). - Trained Weights: Distil Labs R&D Model License (
LICENSE) — free for non-commercial prototyping, research, and development (US + EU/EEA); retainLICENSE,STUDENT_LICENSE, andTEACHER_LICENSEwhen redistributing.