onepass-qwen3-0.6b-GGUF
This repo has GGUF files of
samadpls/onepass-qwen3-0.6bfor llama.cpp and the onepass runtime. The LoRA adapter alone:samadpls/onepass-qwen3-0.6b-lora.
Model Overview
onepass is a tiny open decision model. You give it a piece of text (the "state") and typed questions: yes/no, choose one option, or pick a level on a scale. It returns a probability for every possible answer, for all questions at once, from a single forward pass.
- One pass, nothing generated. Answers are read from the model's scores, so the output can never be malformed.
- Calibrated. It was trained on the share of human raters who chose each answer, not just one label.
- Never trained on its benchmark. Scored on LocalLLaMA/typed-decisions, trained only on other open data.
The card above shows the 8-bit 0.6B model. This model gives refund true 0.96 and team billing 0.98 for the same message.
Model Details
| Base model | Qwen/Qwen3-0.6B |
| Size | 0.6B parameters (20M trained with LoRA) |
| Training data | 68,061 texts with 138,928 questions from 19 open datasets |
| Calibration temperature | 1.0 |
| Language | English |
| License | Apache-2.0 |
| Other size | samadpls/onepass-qwen3-1.7b-GGUF |
| Code | samadpls/onepass |
📊 Results
Scored on the 400-case test split of LocalLLaMA/typed-decisions (2,000 decisions), with the formulas from the benchmark's own scoring script. Accuracy: higher is better. KL from gold, Brier and ECE: lower is better.
| Model | Accuracy | KL from gold | Brier | ECE |
|---|---|---|---|---|
| Qwen3-0.6B, no fine-tuning | 0.311 | 0.888 | 0.428 | 0.306 |
| Label frequencies from the benchmark's train split (ignores the input) | 0.481 | 0.327 | 0.181 | 0.036 |
| onepass 0.6B | 0.601 | 0.270 | 0.154 | 0.049 |
| onepass 0.6B | |
|---|---|
| Yes/no | 0.737 |
| Choose one | 0.518 |
| Pick a level | 0.561 |
| Agent traces | 0.564 |
| Customer service | 0.630 |
| Invoices | 0.614 |
| Security incidents | 0.596 |
| Set | Always the most common answer | Accuracy before → after |
|---|---|---|
| CondaQA (negation, yes/no) | 0.483 | 0.455 → 0.563 |
| Cosmos QA (common sense, choose one) | 0.260 | 0.282 → 0.373 |
| SummEval (summary quality, pick a level) | 0.651 | 0.504 → 0.265 |
| RAGTruth (is the answer supported?, yes/no) | 0.768 | 0.704 → 0.752 |
Accuracy is mixed. The probabilities improve on every set: KL from gold falls on all four.
⚡ Run it
Download the 8-bit file and start the local server and demo page. Both commands need only uv:
uvx --from huggingface_hub hf download samadpls/onepass-qwen3-0.6b-GGUF onepass-qwen3-0.6b-Q8_0.gguf --local-dir .
uvx --from "onepassai[serve]" onepass-serve onepass-qwen3-0.6b-Q8_0.gguf
Then open http://127.0.0.1:8000, or call the API:
curl -s http://127.0.0.1:8000/v1/systemone -d '{
"state": "My card was charged twice for one order, please refund the extra charge.",
"questions": {
"refund": {"type": "noul", "instructions": "The customer wants a refund.",
"criteria": {"true": "Yes.", "false": "No."}},
"team": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "Payments and refunds.", "tech": "Bugs and setup."}}
}
}'
From Python, after pip install "onepassai[serve]":
from onepass.model import Model
model = Model("onepass-qwen3-0.6b-Q8_0.gguf", temperature=1.0)
model.ask(state, questions) # {"refund": {"label": "true", "probabilities": {...}}, ...}
The files load in any llama.cpp-based app. Chat apps such as Ollama and LM Studio only return generated text, though, so they can't give you the answer probabilities. The onepass runtime reads the scores at every answer slot in one llama.cpp call.
Files
The same benchmark, run through llama.cpp with each file. "Shift" is how far each answer probability moves from a 16-bit file, on average.
| File | Size | Accuracy | KL from gold | Brier | ECE | Shift | Time per case |
|---|---|---|---|---|---|---|---|
onepass-qwen3-0.6b-Q8_0.gguf (recommended) |
639 MB | 0.605 | 0.270 | 0.154 | 0.054 | 0.004 | 185 ms |
onepass-qwen3-0.6b-Q4_K_M.gguf |
397 MB | 0.603 | 0.268 | 0.153 | 0.064 | 0.030 | 191 ms |
| 16-bit (not uploaded) | 1,198 MB | 0.601 | 0.270 | 0.154 | 0.048 | 180 ms |
8-bit halves the file and changes almost nothing. 4-bit keeps the scores close, but single answers can move by up to 0.22. Use 8-bit when the exact probabilities matter. Times are medians on a MacBook Pro (M3 Pro) GPU. For prompts this short, the smaller file saves memory but is not faster.
How it works
- One slot per question. The prompt lists the state, then each question with its
options as letters (A, B, C ...), each followed by
Answer:. The model's scores for the option letters at that position become the answer probabilities. - No answer leaks into the next question. A fixed placeholder follows every slot, so each answer depends only on the state and the questions so far.
- Trained on probabilities. Where a dataset has several human raters, the training target is the share of raters who chose each answer.
How it was trained
- Data. 40,000 texts from 16 human-labelled datasets (BoolQ, MultiNLI, Banking77, GoEmotions and others), plus three open typed-question datasets: n4ze3m/typed-decisions-synth (MIT), decisionmodels/sn92-specialists (CC BY 4.0) and tasksource/procedural-typed-decisions (Apache-2.0). The full list and build commands are in the GitHub README.
- LoRA on every linear layer. Rank 32, alpha 64, on the attention and feed-forward layers of all 28 blocks. The Qwen weights stay frozen.
- Loss only at the answer slots, against the target probabilities.
- One pass over the data: 3,109 steps of 8,192 tokens, learning rate 2e-4 with a cosine schedule, on two free Kaggle T4 GPUs in 4.5 hours.
- Calibration: one temperature (1.0), fitted on our own validation set, never on the benchmark.
Limitations
- On the benchmark it picks the wrong top answer about 2 times in 5. Use the probabilities, not only the top label.
- Accuracy on the held-out sets is mixed. On SummEval (0.504 → 0.265) it answers "good" almost every time, while the experts rated most summaries "excellent" for consistency and fluency. 87% of its answers are still within one level of theirs.
- It was trained on English text only.
- The prompt layout must match the training layout token for token.
Credit
Built by Abdul Samad (samadpls.com, abdulsamadsid1@gmail.com). Base model by the Qwen team. Training data from the datasets listed above; thanks to their authors. Licensed under Apache-2.0.