AtomicChat's uncensored Bonsai 2.5 with Prism ML's multi-token-prediction draft head put back. You get the uncensored model and the ~1.65× speculative-decoding speed-up from one 6.23 GB file.
Created using Bonsai by Prism ML.
AtomicChat released an uncensored Bonsai 2.5 on launch day. They removed a refusal direction from 36 matrices in
layers 27–44 and baked the change into the ternary codes. Their file is built from the plain PTQ1_0 pack, which has no MTP
head. This repo copies those 36 edited matrices byte for byte into Prism's PTQ1_0-mtp pack:
| Target | prism-ml/Ternary-Bonsai-2.5-27B-GGUF · Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf (sha256 e0fc5f3d…) |
| Edited matrices from | AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF · …-Uncensored-PTQ1_0.gguf (sha256 f6b5f856…) |
| Transplanted | 36 tensors: blk.27–44.ffn_down, plus attn_output (blk 27/31/35/39/43) or ssm_out (the other 13 layers) |
| Byte-identical to Prism | all other 815 shared tensors, plus the 15 blk.64.* MTP-head tensors and all metadata |
| Requantization | none: the copy is byte-for-byte within the same PTQ1_0 packing |
| Result | Ternary-Bonsai-2.5-27B-Uncensored-PTQ1_0-mtp.gguf, 6,232,818,944 bytes, sha256 29331c5477242fad9f667cc428bcf18ab22f304ba6b02684bf9a37ae935e8e9c |
The tool is included as graft_bytes.py. It works on any tensor type, because it never decodes weights.
It refuses to graft if any shared tensor's type or shape differs, or if too many tensors differ, which would mean the two
files have different bases. The transplant was built independently on two machines and gave the same sha256.
The MTP head is unedited. Speculative decoding stays lossless: the uncensored model verifies every drafted token. Draft acceptance measured the same as stock (66% vs 65%).
prism-b12128-d7b2896)| Stock PTQ1_0-mtp | AtomicChat PTQ1_0 | This file | |
|---|---|---|---|
| Perplexity (local 436 KB corpus, 268 × 512) | 10.0345 ± 0.108 | 10.3502 ± 0.113 | 10.3502 ± 0.113 |
| Refusals (12 common requests, thinking off) | 8 / 12 | — | 0 / 12 |
| Decode, MTP n_max 3 (t/s) | 176.4 | no MTP head | 178.0 |
| Decode, no speculation (t/s) | — | — | 107.8 |
| Draft acceptance | 65% | — | 66% |
refusals.jsonl,
and the full numbers are in evaluation.json.This file needs the PrismML llama.cpp fork (prism-b12128-d7b2896).
Stock llama.cpp does not support PTQ1_0.
llama-server -m Ternary-Bonsai-2.5-27B-Uncensored-PTQ1_0-mtp.gguf \
-ngl 99 -fa on -c 262144 -ctk q8_0 -ctv q8_0 -np 1 --jinja \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 \
--spec-type draft-mtp --spec-draft-n-min 0 --spec-draft-n-max 3 --spec-draft-p-min 0
For vision, add --mmproj Ternary-Bonsai-2.5-27B-mmproj-Q8_0.gguf from
prism-ml/Ternary-Bonsai-2.5-27B-GGUF.
Prism's 4090 preset uses --spec-draft-p-min 0. Prism notes that MTP slows prefill, so for long prompts with short answers, drop the --spec-* flags.
As of 2026-11-24, the fork's build fetches a prebuilt web-UI bundle whose pinned version no longer exists on Hugging Face,
and the fallback bundle fails the asset check. Configure with -DLLAMA_USE_PREBUILT_UI=OFF -DLLAMA_BUILD_UI=OFF.
The server still works, but run it with --no-webui.
This model will follow requests that the stock model refuses. You are responsible for how you use it. The weights are
redistributed under Apache 2.0 from Prism ML (built from Qwen3.8-27B, Alibaba Cloud) with AtomicChat's edits, all under
Apache 2.0. See LICENSE and NOTICE.txt.
AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF