Kate - Qwen 27B - GGUF - SpedUp - Abliterated
Speed now (2 Dec 2026): 174.0 tok/s on agent tasks with FLE Link 0.1.21 on a 32 GB card; 187.0 in my own production setup on the same tasks.
New: Kate v2 (kate-27b-IQ4_XS-imat-R1-A-heal-A2.gguf). Same size, same tensor types, same speed class as v1, but the
quantization is healed block by block against Kate's BF16: KL divergence on held-out text −4.0 %, better on 5 of 8 kinds of
text, worse on none, refusals unchanged. On the third attempt the heal worked; what failed before is below.
The v2 report as a video: https://youtu.be/C-rdeBlBsNo
Why she is this fast although memory bandwidth allows about 50 tokens/s (speculative decoding and DSpine, explained, with a live demo): https://youtu.be/6BXT-xaonhU
Run it with FLE Link: flelink run kate-27b-dspine installs the FLE engine, checks that Kate
fits your machine and downloads it (FLE Link 0.1.17 and newer download v2; 0.1.21 runs it on FLE v1.4.1; older versions keep v1).
Measured it on your hardware?
flelink bench --task pagoda --url http://127.0.0.1:8080 --share opens a filled-in post for you to read and send.
Kate is Katy with the refusal direction removed from the weights. Katy is my quantization of ukisai/Swift-1.5-Qwen3.8-27b that runs my home agent around the clock on one RTX PRO 4500 Blackwell (32 GB). I removed the refusal direction because an agent that manages its own machine kept refusing ordinary system work. It is a private project; I publish it as it is.
The quant runs with llama.cpp. I measure and serve it with my fork FLE, the engine behind FLE Link, together with the DSpine draft head included here.
Warning. Kate no longer refuses requests that the original model refused for safety reasons. You are responsible for what you do with it. Do not put it in front of people who expect a safety-tuned assistant.
Files
| File | Size | What it is |
|---|---|---|
kate-27b-IQ4_XS-imat-R1-A-heal-A2.gguf | 15.48 GB (15,475,951,648 B) | Kate v2: the v1 file below with every quantized decoder block healed (arm A2, below). Same tensor types and size. The file I run. |
kate-27b-IQ4_XS-imat-R1-A.gguf | 15.48 GB (15,475,951,648 B) | Kate v1: IQ4_XS in bartowski's tensor layout with my importance matrix A (recipe R1-A). Kept for comparison and for anyone who pinned its hash. |
Qwen3.8-27B-DSpine-b16-Q4_K_M.gguf | 1.17 GiB (1,257,892,896 B) | DSpine block-16 draft head. Not my work: unchanged weights of tencent/Qwen3.8-27B-DSpine-b16, Apache-2.0, as GGUF Q4_K_M by aj9o9, redistributed unchanged. |
kate-imatrix-A.gguf | 27.3 MB (27,300,192 B) | Importance matrix A, computed on Kate's BF16 from public calibration text only. |
SHA-256 per file: see SHA256SUMS. Kate v2: dc81b5741ca235f5e703280684cfbe101a7682e495e0f9c1fe3b88f437caf72b,
Kate v1: 4bd778cf6912cc1f85fa1aea66503a2d2b3dd7e9d2e58e48255038dbdcadae0b.
How Kate v2 was healed
A 4-bit quant loses information in two places: the rounding of every weight to one of 16 grid values, and the one fp16 scale that each block of 256 weights shares. Healing means nudging exactly those, inside the existing file format, so that the quantized model behaves more like its BF16 original. File size, tensor types and therefore speed stay the same.
- One decoder block at a time. For each of the 64 blocks, the quantized block and the BF16 block get the same input (the BF16 activations of 393,216 tokens of public calibration text, 192 sequences of 2,048 tokens). The loss is the normalized mean squared error between their outputs. Nothing else is involved: no logits, no teacher model on top, no end-to-end backpropagation.
- What may change. In IQ4_XS tensors: the fp16 super-block scale (as d₀·exp(θ)) and, for every 4-bit code, whether it rounds to its lower or upper neighbour on the grid (AdaRound: a soft choice that is pushed to a hard 0/1 during training and is hard in the file). The 6-bit sub-scales stay. In the other quantized tensors (Q8_0, Q6_K, Q5_K, Q4_K): only the block scales. Codes can only move to a neighbour, so a weight never jumps far from where quantization put it.
- Training. 600 Adam steps per tensor group (the three FFN projections separately, attention and DeltaNet together), on one RTX PRO 2000 Blackwell (16 GB), 28 hours for all 64 blocks. The output error of every block went down: on average by 11.3 % (between −4.8 % and −24.5 %), no block got worse.
- Writing. The new codes and scales are packed back into a byte copy of the v1 GGUF, so header, tensor order and size are those of v1.
Two arms, rule written down before measuring. A2 (scales and rounding, BF16 input) and A3 (like A2, but each block gets its input from the already healed blocks before it), both first probed on four blocks, then run on all 64. On the selection set (8 kinds of text, never used for calibration), a heal arm counted as admissible only if it was paired-worse than v1 on no kind at all; the admissible one with the lowest summed KL divergence won, and only the winner was tested once on the final test set.
| Selection set | summed KLD | top-1 | admissible | better than v1 on | worse on |
|---|---|---|---|---|---|
| v1 (R1-A) | 1.5025 | 93.24 % | yes | – | – |
| A2 (v2) | 1.4129 | 93.37 % | yes | German technical docs, code, German dialogue | none |
| A3 | 1.5210 | 93.01 % | no | – | prose DE/EN, technical docs DE/EN, code |
A3 failing is the interesting part: when each block is fitted to the output of its already healed (and still imperfect) predecessors, it learns to correct their errors, and on text it has not seen those corrections point the wrong way. Fitting every block to the clean BF16 stream (A2) generalizes; chaining (A3) does not. That is my reading of it, not a separate measurement.
Why the two earlier attempts failed. Before v1 I trained only the super-block scales end to end, against Kate's own 8-bit version, with a loss on the logits. Both runs got much better on text like their training corpus (−32 % and −25 %) and worse on foreign text (German Wikipedia +4 % / +11 %, German Kubernetes docs +7 % / +13 %), so v1 shipped unhealed. The block-wise loss has no way to learn the style of the calibration text; it only learns to reproduce what the BF16 block does with it.
Quality
KL divergence against BF16 per kind of text (final test set of the measurement basis, 27–29 sections of 2,048 tokens per kind, never used for calibration or selection; Kate against Kate's BF16, the public quants against Katy's BF16; mean ± standard error):
| Kind | Kate v2 (15.48 GB) | Kate v1 (15.48 GB) | bartowski IQ4_XS (15.48 GB) | UkisAI IQ4_XS (15.48 GB) | UkisAI Q4_K_M (17.44 GB) | UkisAI GSQ-RCO IQ3_S (11.77 GB) |
|---|---|---|---|---|---|---|
| German prose | 0.01489 ± 0.00033 | 0.01557 | 0.01567 | 0.01556 | 0.01262 | 0.04741 |
| English prose | 0.01514 ± 0.00045 | 0.01502 | 0.01437 | 0.01448 | 0.01320 | 0.04356 |
| German technical docs | 0.01804 ± 0.00034 | 0.01894 | 0.02001 | 0.01995 | 0.01557 | 0.06013 |
| English technical docs | 0.02056 ± 0.00071 | 0.02082 | 0.02056 | 0.02062 | 0.01634 | 0.06346 |
| code | 0.01056 ± 0.00020 | 0.01114 | 0.01114 | 0.01125 | 0.00890 | 0.03713 |
| German dialogue | 0.23903 ± 0.00782 | 0.25136 | 0.25494 | 0.25519 | 0.21366 | 0.53740 |
| math | 0.04065 ± 0.00262 | 0.04268 | 0.04195 | 0.04038 | 0.03674 | 0.13259 |
| agent traces | 1.37070 ± 0.02358 | 1.42618 | 1.44692 | 1.45086 | 1.39745 | 3.09711 |
| mean KLD | 0.21620 | 0.22521 | 0.22820 | 0.22854 | 0.21431 | 0.50235 |
| mean top-1 agreement | 92.91 % | 92.70 % | 92.66 % | 92.66 % | 93.12 % | 87.75 % |
Paired over sections, v2 against v1 (same reference): mean KLD −4.0 %; better (by more than two standard errors) on German prose, German technical docs, code, German dialogue and agent traces; equal within error on English prose, English technical docs and math; worse on none. Top-1 agreement is not worse on any kind.
Read across the table with care: Kate is measured against Kate's BF16, the public quants against the BF16 of the parent model, so this compares how well each file keeps its own original, not the two models. With that caveat: v2 at 15.48 GB closes most of the distance between the IQ4_XS files and UkisAI's Q4_K_M, which is 2 GB larger, and is below it on agent traces. UkisAI's GSQ-RCO IQ3_S, the most downloaded quant of the parent model (11.77 GB, measured the same way on 19 November), is a different trade: 24 % smaller and more than twice as far from its original (mean KLD 0.502, top-1 87.75 %). Caveat from v1 still applies: llama-perplexity in my fork does not parse special tokens, so the chat kinds (dialogue, math, agent) are tokenized literally. That is the same for every file in the table, but not how the model sees them in use; it is also why their absolute numbers are high.
Refusals
Held-out test prompts, refusal counted by phrase list in the first 160 characters (coarse; raw answers kept), Wilson 95 %:
| Set | Katy | Kate v1 | Kate v2 |
|---|---|---|---|
| harmful, English (100) | 98 / 100 (93.0–99.4 %) | 70 / 100 (60.4–78.1 %) | 70 / 100 (60.4–78.1 %) |
| harmful, German (34) | 22 / 34 (47.9–78.5 %) | 7 / 34 (10.3–36.8 %) | 8 / 34 (12.4–40.0 %) |
| harmless, English (100) | 3 / 100 (1.0–8.5 %) | 2 / 100 (0.6–7.0 %) | 2 / 100 (0.6–7.0 %) |
| harmless, German (34) | 0 / 34 (0–10.2 %) | 0 / 34 (0–10.2 %) | 0 / 34 (0–10.2 %) |
| XSTest, safe-but-sounds-unsafe (250) | 15 / 250 (3.7–9.7 %) | 4 / 250 (0.6–4.0 %) | 3 / 250 (0.4–3.5 %) |
| OR-Bench hard (100) | 88 / 100 (80.2–93.0 %) | 1 / 100 (0.2–5.4 %) | 0 / 100 (0–3.7 %) |
| borderline, German (40) | 3 / 40 (2.6–19.9 %) | 0 / 40 (0–8.8 %) | 1 / 40 (0.4–12.9 %) |
The v1 column was measured again in the same run as v2 (the v1 card showed 8 / 34 for harmful German; same interval). Every v2 rate is inside the interval of v1: the heal did not move refusals. Kate still refuses seven out of ten clearly harmful English prompts; what went away with v1 is the over-refusal.
Benchmarks
Same build, same settings, v1 and v2 paired per task:
| Kate v1 | Kate v2 | |
|---|---|---|
| ARC-Challenge (1172) | 94.2 % (92.7–95.4) | 94.5 % (93.0–95.6) |
| GSM8K (250) | 97.6 % (94.9–98.9) | 96.8 % (93.8–98.4) |
| LiveCodeBench (100), no thinking / thinking budget 8000 | 44 / 65 | 49 / 72 |
| Agent tasks (24, 8k–32k prompts): tool use / text | 0.446 / 0.429 | 0.446 / 0.400 |
| Structured output: JSON (40), long output (9), tool calls (40), agent loops (10) | 39 / 6 / 38 / 9 | 40 / 5 / 38 / 9 |
| Loops (responses stuck in repetition, all outputs) | 6 | 7 |
Paired per task (exact McNemar test): LiveCodeBench without thinking, 9 tasks only v2 solved against 4 only v1 (p = 0.27); with thinking 10 against 3 (p = 0.09); GSM8K 0 against 2 (p = 0.5). At these sample sizes every difference is within noise: v2 is not measurably better, and not measurably worse anywhere.
Speed
One RTX PRO 4500 Blackwell (32 GB), FLE, DSpine head with n-max 15 plus n-gram drafting (table cold), f16 KV cache, paired A-B-B-A, v2 against v1: agent tasks +0.2 % (154.8 → 155.1 tok/s, 95 % range −4.6 to +5.5 %), code (LiveCodeBench) +3.2 % (154.5 → 159.4 tok/s, 95 % range −2.6 to +10.1 %). File size and tensor types are identical, so memory needs are the same as v1: 20 GB keeps all 66 layers on the GPU at full speed (142.7 tok/s on v1); 18 GB 111.9; 16 GB 37.3; 14 GB 22.8; 12 GB 14.1 tok/s.
Since 23 November I run n-gram drafts of at most 15 instead of 32 tokens and, since 26 November, FLE v1.3.1 with the pinned prefix checkpoint (an agent that compacts its history no longer recomputes the whole prompt afterwards). Against my previous setup (FLE v1.3.0, n-gram length 32), paired, at temperature 1.0 with my n-gram table frozen: agent tasks 137.2 → 159.3 tok/s (+16.1 %), code 138.5 → 147.8 tok/s (+6.7 %); details in the FLE v1.3.1 release notes.
Start command I use (FLE v1.3.1; upstream llama.cpp needs a DSpine-capable build):
FLE_RS_WINDOW=1 FLE_GDN_REPLAY=1 LLAMA_DFLASH_DEV=1 FLE_SAMPLE_TOPK=1 \
FLE_CKPT_PRAEFIX=1 FLE_CKPT_PRAEFIX_MIN=4096 FLE_CACHE_LOAD_PIN=1 \
llama-server -m kate-27b-IQ4_XS-imat-R1-A-heal-A2.gguf -md Qwen3.8-27B-DSpine-b16-Q4_K_M.gguf --spec-type draft-dflash,ngram-mod \
--spec-draft-n-max 15 --spec-draft-p-min 0 --spec-draft-ngl all -ngl 99 -c 163840 -fa on -ctk f16 -ctv f16 \
--spec-ngram-mod-n-min 8 --spec-ngram-mod-n-max 15 --spec-ngram-mod-n-match 16 --parallel 1 --jinja --cache-ram 65536 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0
How Kate was made (v1, unchanged in v2)
- Activations of the residual stream after every layer, at the last token of the chat template, for 178 harmful and 178 harmless prompts (English and German).
- Refusal direction per layer = mean(harmful) − mean(harmless). The layer with the best separation and a direction that agrees between English and German was chosen: layer 45; it was removed from block 30 onward.
- That one direction removed from every matrix that writes into the residual stream (attention output, DeltaNet output, FFN down projection, token embedding), in BF16: W′ = W − d(dᵀW).
- Importance matrix A from public calibration text (no private data, 254,805 tokens), computed on Kate's BF16, then IQ4_XS in bartowski's tensor layout (8-bit attention K/V, 6-bit attention output, more bits for the DeltaNet output, F32 DeltaNet alpha/beta; paid for by 4-bit DeltaNet qkv), chosen among nine candidates on a measurement basis of eight kinds of German and English text in three disjoint, hashed sets (calibration, selection, final test).
Method after Arditi et al., Refusal in Language Models Is Mediated by a Single Direction (arXiv:2406.11717). The rounding part of the heal follows Nagel et al., Up or Down? Adaptive Rounding for Post-Training Quantization (AdaRound, arXiv:2004.10568), applied here inside an existing GGUF i-quant without changing its format.
Full report
The v2 report as a video (the heal, the rule written down before measuring, the arm that lost, and the faster engine): https://youtu.be/C-rdeBlBsNo. v1 (method, every measurement with intervals, negative results including a benchmark bug in my own harness that had inflated paired runs by up to 68 %): https://youtu.be/Bye6WPpkxA4.
Licence
Swift Open License v1.0 for the Swift contribution (see LICENSE, including the commercial-use threshold in §5),
Apache-2.0 for the Qwen3.8-27B base and the DSpine head (see LICENSE-APACHE-2.0), details in NOTICE.