qwen3-0.6b-lupin
Meet Lupin, a gentleman cambrioleur: he takes 58.6% of the thinking and leaves the accuracy where it was.
The full write-up, with the analysis of what the shorter model actually does, is here: https://arsenelemoigne.eu/posts/thinkingcap/
Qwen3-0.6B trained to write shorter thinking traces at the same accuracy. It was made for BottleCap AI's open ThinkingCap-Test challenge.
On the challenge's official evaluation (2,759 questions, 8 answers each, thinking on): 58.6% fewer tokens [57.6, 59.7] at +0.07 points of accuracy [−0.69, +0.86], against the original Qwen3-0.6B.
| Math (SVAMP) | Code (MBPP+) | Instructions (IFEval) | Tool calls (BFCL) | |
|---|---|---|---|---|
| Tokens saved | 61% | 56% | 58% | 60% |
| Accuracy change (points) | −1.5 | −0.1 | +1.8 | +0.0 |
Tool calls cover three kinds of BFCL questions, pooled as one benchmark as in the official score (59.6% fewer tokens, +0.01 points). The pooled change hides moves that cancel out: one function −4.3 points (55% fewer tokens), several functions −1.7 (57%), and "no function fits" +8.5 (69%). The one real cost is on one-function calls: the model now leaves out an argument more often.
On four benchmarks not used in training, it writes 48–70% fewer tokens, and no accuracy change is outside its 95% interval:
| Benchmark | Accuracy change (points) |
|---|---|
| ARC-Challenge | −2.0 |
| CommonsenseQA | −1.3 |
| MMLU | +2.4 |
| HumanEval | −0.5 |
How it was trained
Online DPO, 22 rounds, from the original model. Each round:
- The current model answers about 780 new training questions 8 times.
- Pairs are built from its own answers: a shorter right answer over a longer right one, a right answer over a wrong one, and recovery pairs.
- A per-task minimum length and a per-task brake stop each task before its accuracy breaks.
- It trains with the original model as the fixed DPO reference.
This repo holds the merged model (original weights plus one rank-16 LoRA adapter, merged); the adapter alone is in adapter/.
Use
Use it exactly like Qwen3-0.6B, with thinking on and the same sampling settings:
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "arsenelemoigne/qwen3-0.6b-lupin"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto")
Limits
- Accuracy holds on average, but about 10 answers in 100 swap between right and wrong compared with the original.
- It was measured on the challenge's four benchmarks and four others; it has not been tested elsewhere.
- The training questions were matched to the challenge's tasks.