☕ Support this work
Whittle is built by one person on a grocery budget and rented GPU hours. If this research is useful to you, or you want to see it finished: ko-fi.com/davida81328. Every hour of GPU time goes straight into the next checkpoint, and every checkpoint, table and log lands in these repos.
The current Whittle flagship, Whittle-Qwen-3.8-35B-A3B, with the 76 experts per layer that its
expert prune removed put back from Qwen3.6-35B-A3B. The body is back to 256 routed experts per layer, the
10 B n-gram memory is kept, and the restored experts were healed into the body on 28 Oct 2026 (see Status). 45.1 B total (35.1 B body + 10.0 B memory, counted from this GGUF), ~3 B
active (8 of 256 routed experts + the shared expert), Qwen3.8-Flash-Next (qwen4_exp) format, runs on stock llama.cpp.
Against the 35B it knows more long-tail facts, codes at least as well and scores 96/96 on our tool-use probes; since the heal it also leads on exact-answer recall and MATH-60, and it needs 5.8 GB more memory. Details under Measured.
Healed (28 Oct 2026). All four files are rebuilt from the healed weights (the Q8_0 by byte surgery on the previous Q8_0, the K-quants
requantised from it) and carry the reasoning-effort chat template. The 5 Oct splice files stay available at revision 42d8a2b0008a.
Q4_K_M, stock llama.cpp (--jinja), card sampler, thinking on, same machine and build |
healed (28 Oct) | splice (5 Oct) |
|---|---|---|
| PopQA exact match (288) | 77/288 | 54/288 |
| long-tail names, PopQA completion (252) | 115/252 | 112/252 |
| 40 plain facts | 37/40 | 37/40 |
| stop/loop battery, clean (24) | 24/24 | 23/24 |
| GSM-50 (3,072-token cap) | 40/50 | 44/50 |
| MATH-60 (6,144-token cap) | 42/60 (8 at the cap) | 40/60 (9 at the cap) |
| strict JSON, 72 items: valid / exact | 72 / 69 | 72 / 71 |
| tool-use probes (96) | 96/96 | 96/96 |
| llama.cpp web page, chat replay A / B (20 each) | 18/20 / 17/20 (1 invented tool call) | 19/20 / 13/20 (none) |
| llama.cpp web page: 36 held-out chats finished | 33/36 | 33/36 |
One run, one sample per item: a few items either way is noise (GSM-50: 5 lost, 1 gained, exact p = 0.22; on GSM8K-400 at bf16 the heal is ahead, 373 against 367). The splice column was re-measured on the same machine, so it differs from the 4 Oct Kaggle table below.
Reasoning effort (new). The chat template now follows Qwen3.8's: with thinking on it adds a reasoning-effort system instruction, xhigh by
default, low for brief thinking, medium for none. Pass reasoning_effort in chat_template_kwargs (llama-server --jinja) or to
apply_chat_template. Whittle's earlier training rendered its teacher data without that instruction, so the model never learned the levels;
the heal teaches them. Measured on GSM8K (200, bf16): low uses about 18 % fewer tokens than xhigh at the same accuracy (95.5 % vs 94.5 %).
| file | size | notes |
|---|---|---|
Whittle-Qwen-3.8-45B-A3B-Q8_0.gguf |
48.0 GB | the healed model (reference) |
Whittle-Qwen-3.8-45B-A3B-Q5_K_M.gguf |
31.9 GB | |
Whittle-Qwen-3.8-45B-A3B-Q4_K_M.gguf |
27.1 GB | the file measured under Status |
Whittle-Qwen-3.8-45B-A3B-Q3_K_M.gguf |
21.3 GB | smallest; expect some loss on maths |
The memory table is about 5.6 GB of the Q4_K_M (10.5 GB of the Q8_0). It is a lookup, one row per token per head, so keep it in system RAM with
-ot per_layer_token_embd=CPU: the GPU then holds the 256-expert body (21.5 GB at Q4_K_M). The K-quants were requantised from the Q8_0. No Q6_K yet.
Stock llama.cpp on two T4 GPUs, one sample per item. The knowledge rows are cloze prompts scored on a greedy raw completion; everything else goes through
the chat endpoint with the card sampler (temperature 0.7, top_p 0.8, top_k 20, repeat_penalty 1.05) and thinking on. The other columns ran on the same
harness: the 35B at Q6_K (its EvalPlus at Q5_K_M) and the base Qwen3.6-35B-A3B at Q4_K_M (bartowski, importance matrix).
| probe | 45B (this repo) | 35B | Qwen3.6-35B-A3B |
|---|---|---|---|
| HumanEval / HumanEval+ (EvalPlus pass@1) | 75.6 / 72.6 | 73.8 / 70.7 | not run |
| MBPP / MBPP+ | 77.8 / 65.9 | 76.2 / 61.9 | not run |
| tool-use probes (96) | 96 | 95 | 93 |
| of which the ~11k-token context probe (24) | 24 | 23 | 24 |
| llama.cpp web page, browser tools: a real chat replayed at two points (20 each) | 12 and 15, 2 invented tool calls | 16 and 18, none | 20 and 20, none |
| llama.cpp web page: 36 held-out chats finished | 31 | 32 | 32 |
| GSM-50 (3,072-token cap) | 38 | 44 | 40 |
| MATH-60 (6,144-token cap) | 44 (9 at the cap) | not in this run | 38 (19 at the cap) |
| MATH-60, mean tokens per answer | 1,690 | — | 4,018 |
| long-tail names, PopQA completion (252) | 111 | 94 | 132 |
| PopQA exact match (288) | 52 | 71 | scorer bug |
| 40 plain facts | 37 | 35 | 33 |
| strict JSON, 72 items: valid / exact | 72 / 70 | 72 / 70 | 72 / 72 |
| stop/loop battery, clean (24) | 24 | 23 | 24 |
What is real and what is noise. Paired on the same items with an exact test, against the 35B: the long-tail names gain is real (18 gained, 1 lost; p < 0.001) and so is the GSM-50 drop (6 lost, none gained; p = 0.031). Coding is level: 24 tasks gained and 21 lost on HumanEval, 34 against 19 on MBPP+ (p = 0.053). The web-page replay drop (34 to 27 of 40) is within single-run noise (p = 0.11), but the 2 invented tool calls are new: neither the 35B nor the base made any. The 35B and base columns ran at different quantisations, and the base with Whittle's sampler rather than Qwen's own 0.6 / 0.95.
The three charts below are from 4 Oct 2026, before the heal; the healed comparison is under Status.
The chart compares the four Whittle builds that share one body: the 25B (no table), the 35B (+ the table), the x256 (+ the restored experts, no table) and this 45B (both). The table buys code and long-context tool use; the restored experts buy long-tail knowledge; only the two together lost GSM-50. The full comparison, with all five models, is on the 35B card.
Start: the published Q8_0 of Whittle-Qwen-3.8-35B-A3B, Phase-2 step 32010 (180 routed experts per layer + the 10 B memory).
Experts: the 2 Sep 2026 prune removed 76 of Qwen3.6-35B-A3B's 256 routed experts in every layer (the keep lists are in
eval/prune_report.json). Those 76 were read from Qwen3.6's bf16
weights, quantised to Q8_0 and appended to each layer as experts 180–255.
Router: their original router rows were appended too, scaled per layer by the median norm ratio between the trained and the original rows of the kept experts (1.001–1.026). Five weeks of training had barely moved the router: trained rows sit at cosine 0.98–0.995 to the originals.
No training in the splice. The file was written by streaming byte surgery (header patched in place, every other tensor copied), checked by comparing a kept expert with its original (gate cosine 0.990) and smoke-tested on stock llama.cpp, then requantised.
Heal (28 Oct 2026): distilled from Qwen3.8-27B into the restored experts, their router rows and small always-on adapters; details on the safetensors card.
llama-server -m Whittle-Qwen-3.8-45B-A3B-Q4_K_M.gguf -ngl 99 -c 16384 --jinja -fa on -ot per_layer_token_embd=CPU
temperature 0.7, top_p 0.8, top_k 20, repeat_penalty 1.05: sample, do not decode greedily; greedy decoding loops on this family."chat_template_kwargs": {"enable_thinking": true}. Give it max_tokens 4096+ for code and 8192+ for maths (9 of 60 MATH problems hit 6,144).
--reasoning-format deepseek separates the thinking into reasoning_content.--lazy-mode (newer than ~30 Aug 2026), add --lazy-mode off so the memory table is loaded into RAM; otherwise it is read
lazily from disk and -ot is ignored, which makes prompt processing slow.-ot "per_layer_token_embd=CPU" -ot "\.ffn_(up|down|gate)_exps\.=CPU".reasoning_content in the history for the rest of the tool episode. The chat template is the 35B's,
which accepts a system message anywhere, so Claude Code works against llama-server's /v1/messages.qwen4exp; if your build reports an unknown architecture, update llama.cpp.per_layer_token_embd loses code and
long-context tool use.David Aylward (logic65) & Claude (Anthropic). Built from logic65/Whittle-Qwen-3.8-35B-A3B
(Phase-2 step 32010; its card carries the full lineage, teacher Qwen/Qwen3.8-27B, memory contents from
Qwen/Qwen3.8-Flash-Next) and the routed experts of Qwen/Qwen3.6-35B-A3B.
Heal teacher Qwen/Qwen3.8-27B. All Apache-2.0. Results files: the battery and EvalPlus runs of 2–4 Oct 2026
(Kaggle, two T4 GPUs); the heal and its battery runs of 28 Oct 2026 (Colab, one RTX PRO 6000) in heal/ of the safetensors repo.
Qwen/Qwen3.6-35B-A3B