A training-free weight edit of prism-ml/Ternary-Bonsai-2-9B-gguf (checkpoint q6pa-m: Q6_K storage, projection-aware rounding, plus the math direction) that removes two habits from the model's thinking: reopening decisions it has already made ("Wait…", "Actually…", "Let's go with … no, …") and re-checking math it has already done.
It thinks 43% less on GSM8K and 27% less on MATH-500 than the base model, with the same accuracy on the problems both finish, and it runs on stock llama.cpp. Because it runs out of thinking budget less often, it also scores higher on MATH-500 at a fixed 12k-token budget (75.2% → 81.2%); that gain comes from finishing more problems, not from better math (details below).
No gradients, no training data and no fine-tuning. Two directions in the residual stream were found by comparing activations and then projected out of the weights in closed form. The edited matrices are stored with a new projection-aware rounding, so quantization does not quietly put the removed directions back.
This supersedes Ternary-Bonsai-2-9B-Decisive-GGUF (Decisive V1, checkpoint g22). v2 is smaller (3.14 GB vs 4.23 GB), faster, and has been evaluated on GSM8K, MATH-500 and IFEval rather than a small in-house prompt set. v1's "−44% thinking" figure came from that small set; the numbers below are the ones to rely on.
The full technical write-up is in PAPER.md.
All rows use the base model card's thinking-mode sampling (temperature 1.0, top-p 0.95, top-k 20, presence penalty
1.0) and stock llama.cpp 620d2225c. Bold = best in row.
GSM8K (250 items), MATH-500 (250 items) and IFEval (300 prompts), each a fixed-seed sample of the official test set (not the full sets: GSM8K has 1,319 problems and MATH-500 500, so full-set numbers may differ by a point or two), scored with lm-evaluation-harness's own scorers. 12,288-token budget. Qwen3.5-9B ran the first 100 / 100 / 150 of the same items.
| Qwen3.5-9B (Q4_K_M) | Bonsai base | Decisive V1 (g22) | Decisive V2 (q6pa-m) | V2 alternative (q6pa) | |
|---|---|---|---|---|---|
| GSM8K accuracy | 95.0% | 95.2% | 95.6% | 94.4% | 94.4% |
| GSM8K thinking tokens | 3,527 | 2,269 | 1,471 | 1,301 | 1,491 |
| MATH-500 accuracy | 56.0% | 75.2% | 79.6% | 81.2% | 80.0% |
| MATH-500 thinking tokens | 7,517 | 5,120 | 4,209 | 3,747 | 4,346 |
| MATH-500 out of budget | 37 / 100 | 49 / 250 | 35 / 250 | 29 / 250 | 35 / 250 |
| IFEval prompt-level strict | 92.0% | 92.7% | 91.0% | 90.3% | 93.0% |
| IFEval instruction-level strict | 93.8% | 94.4% | 93.5% | 93.3% | 95.0% |
| IFEval thinking tokens | 4,258 | 3,084 | 2,435 | 2,242 | 2,370 |
Paired against the base model on the same items (95% bootstrap intervals): GSM8K −0.8 points (−3.2 to +1.6, a tie), MATH-500 +6.0 points (+2.4 to +9.6), IFEval −2.3 points (−5.3 to +0.7). Thinking: −43% on GSM8K, −27% on MATH-500 and −27% on IFEval, all intervals well clear of zero. The q6pa alternative: GSM8K −0.8 (−3.2 to +1.6), MATH-500 +4.8 (+1.6 to +8.0), IFEval +0.3 (−2.7 to +3.3); thinking −34%, −15% and −23%.
Where the MATH-500 gain comes from. On the 200 problems that both models finish within the 12,288-token budget, accuracy is the same (base 93.5%, Decisive V2 93.0%). The gain comes from the 49 problems where the base model ran out of budget: Decisive V2 finishes 21 of them and gets 17 right. So the edit keeps reasoning quality the same and spends fewer tokens getting there; with a much larger budget the base model would likely close most of the gap.
Qwen3.5-9B's MATH-500 score is held down by the token budget: it ran out on 37 of 100 problems. It is included as a reference point for thinking length, not as a claim that Bonsai is the stronger model.
100 development prompts × 2 samples, and 100 held-out prompts never used to build or tune anything. "Hedges" counts
lines that reopen a decision (regex in code/scripts/run_eval.py).
| Qwen3.5-9B | Bonsai base | Decisive V1 (g22) | Decisive V2 (q6pa-m) | V2 alternative (q6pa) | |
|---|---|---|---|---|---|
| Dev: mean thinking tokens | 3,194 | 2,570 | 1,687 | 1,706 | 1,741 |
| Dev: 90th percentile | 7,035 | 4,910 | 3,721 | 3,043 | 3,405 |
| Dev: hedges per answer | 25.5 | 15.8 | 0.68 | 0.61 | 1.07 |
| Dev: ran out of budget (8k) | 11 / 200 | 5 / 200 | 3 / 200 | 2 / 200 | 3 / 200 |
| Held-out: mean thinking tokens | 2,543 | 2,141 | 1,534 | 1,510 | 1,483 |
| Held-out: hedges per answer | 18.1 | 11.0 | 0.40 | 0.37 | 0.51 |
| Easy-math guard (44 questions × 2) | 100% | 100% | 100% | 100% | 100% |
| Hard math: 60 Level 4–5 MATH training problems | 30 / 60 | 36 / 60 | 43 / 60 | 42 / 60 | 39 / 60 |
| Hard math: ran out of budget (12k) | 27 / 60 | 20 / 60 | 14 / 60 | 9 / 60 | 15 / 60 |
| Qwen3.5-9B | Bonsai base | Decisive V1 (g22) | Decisive V2 (q6pa-m) | V2 alternative (q6pa) | |
|---|---|---|---|---|---|
| File size | 5.68 GB | 2.56 GB | 4.23 GB | 3.14 GB | 3.14 GB |
| VRAM | 5.5 GB | 2.9 GB | 4.5 GB | 3.5 GB | 3.5 GB |
| Decode speed | 63 tok/s | 104 tok/s | 74 tok/s | 91 tok/s | 91 tok/s |
| Decode speed with the MTP draft head | n/a | 131 tok/s | 104 tok/s | 122 tok/s | 124 tok/s |
| Decode speed in Ollama 0.40.14 | — | — | — | 92 tok/s | — |
The base model decodes faster, but it thinks longer, so on most prompts Decisive V2 reaches the answer sooner.
Ternary-Bonsai-2-9B-Decisive-V2 (q6pa-m), recommended. Removes both habits: the least thinking, the fewest
runs that hit the token budget, and the best math results here.Ternary-Bonsai-2-9B-Decisive-V2-q6pa, if you rely on exact format or length instructions. Removes only the
"reopening decisions" habit. It thinks 13–14% more than q6pa-m on GSM8K and MATH-500, but stays at the base model's
level on IFEval (93.0% vs 92.7%), where q6pa-m dips (90.3%). It is also the cleaner edit: 0.04% of the removed
direction remains in its stored weights, against 3% for q6pa-m.Both are the same size and speed, and both have an -MTP variant for llama.cpp.
| File | Size | Use |
|---|---|---|
Ternary-Bonsai-2-9B-Decisive-V2.gguf |
3.14 GB | the model (checkpoint q6pa-m); drop-in replacement for the base Q2_0 file |
Ternary-Bonsai-2-9B-Decisive-V2-MTP.gguf |
3.39 GB | the same model plus the official multi-token-prediction draft head (~35% faster decoding in llama.cpp) |
Ternary-Bonsai-2-9B-Decisive-V2-q6pa.gguf |
3.14 GB | alternative checkpoint q6pa: the hedging direction only (see below) |
Ternary-Bonsai-2-9B-Decisive-V2-q6pa-MTP.gguf |
3.39 GB | the q6pa alternative plus the MTP draft head |
ollama/ |
Modelfile and instructions for Ollama | |
PAPER.md |
technical write-up: method, the quantization problem, experiments, limitations | |
code/ |
everything needed to rebuild the files from the base model and rerun the evaluations | |
eval/ |
every evaluation run, with full thinking traces | |
SHA256SUMS |
checksums |
395 of the 427 tensors are byte-identical to the base Q2_0 file. The 32 edited matrices (the residual-stream writers in layers 16–31) no longer fit in {−1, 0, +1} after the edit, so they are stored as Q6_K.
Any recent stock llama.cpp that runs the base Q2_0 file runs this one. Tested with 620d2225c (0.7.0) on CUDA
(RTX 3070 and GTX 1080).
llama-server -m Ternary-Bonsai-2-9B-Decisive-V2-MTP.gguf -ngl 99 -fa on -c 32768 \
--spec-type draft-mtp --spec-draft-n-max 2 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 --presence-penalty 1.0 --repeat-penalty 1.0
Without the draft head, use Ternary-Bonsai-2-9B-Decisive-V2.gguf and drop the two --spec-* flags. Thinking is on
by default; pass "chat_template_kwargs": {"enable_thinking": false} in a request to turn it off.
See ollama/README.md. In short:
cd ollama && ollama create bonsai-decisive -f Modelfile && ollama run bonsai-decisive
Tested with Ollama 0.40.14 on an RTX 3070 (Linux, about 92 tok/s, fully on the GPU) and an Apple M4 (macOS, about
23 tok/s): thinking can be shown, hidden (--hidethinking) or turned off (--think=false). The Modelfile sets a 32k
context, which needs about 4.2 GB of VRAM. Ollama needs a version that supports Bonsai's Q2_0 format and the Qwen3.5 architecture, and it
does not use the MTP draft head; for numbers that match the benchmarks exactly, use llama.cpp.
W ← (I − Q Qᵀ) W, where Q holds the two directions after orthonormalization. Bonsai folds its Hadamard
rotation into each matrix's input side, so the output side is the plain residual basis and this projection is
exact.Details, ablations and the things that did not work are in PAPER.md.
mmproj files load, but image quality is unknown.python3 code/scripts/build_q6pa.py Ternary-Bonsai-2-9B-Decisive-V2.gguf \
code/directions/hedge_directions.npy:22,code/directions/recheck_directions.npy:22 16 31
python3 code/scripts/add_mtp.py Ternary-Bonsai-2-9B-Decisive-V2.gguf Ternary-Bonsai-2-9B-Decisive-V2-MTP.gguf
build_q6pa.py expects the base file Ternary-Bonsai-2-9B-Q2_0.gguf (SHA-256 1f884aa5…a384d) and a llama.cpp
build for llama-quantize; edit the two paths at the top of the script. See code/README.md for the evaluation
scripts.
Apache 2.0, following the base model. Created using Bonsai by Prism ML. Bonsai is built from Qwen3.5-9B,
Copyright 2026 Alibaba Cloud. See LICENSE and NOTICE.txt; the modifications made here are listed in the NOTICE
addendum. The multi-token-prediction draft head in the -MTP file is the 15 MTP tensors from Prism ML's
Ternary-Bonsai-2-9B-PQ2_0-MTP-Q8_0.gguf, unmodified.