license: apache-2.0
library_name: mtplx
pipeline_tag: image-text-to-text
base_model:
- prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bit
- AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF
tags: - mtplx
- mlx
- apple-silicon
- ternary
- 2-bit
- bonsai
- prismml
- qwen3.8
- uncensored
- abliterated
- vision
- mtp
- speculative-decoding
Ternary Bonsai 2.5 27B Uncensored MTPLX 2-bit
Ternary Bonsai 2.5 27B Uncensored laid out for MTPLX 2.13 or later, with
Prism ML's own Bonsai 2.5 multi-token-prediction head as the draft model. MTPLX runs Prism ML's rotated ternary
weights natively.
Sibling: barozp/Ternary-Bonsai-2.5-27B-Uncensored-MLX-2bit
is the same pack for Prism ML's bundled MLX loader.
Uncensored. AtomicChat removed the model's refusal direction. It will answer requests the original Ternary
Bonsai 2.5 27B refuses. Use it responsibly and in line with your local laws and the license. No content filter is
applied beyond what is in the weights.
Contents
model.safetensorsis byte-identical to the sibling MLX pack. Its language weights are PrismML's ternary weights
with AtomicChat's uncensored edit in 36 matrices; seeuncensored-provenance.json.mtp.safetensorsis Prism ML's v2 draft head for Bonsai 2.5 (mtp/mtp-v2-head.safetensorsin the official MLX
pack), renamed to MTPLX'smtp.*names. Its 4-bit, group-32 weights are copied byte for byte; the eight norm
vectors were cast from float32 to float16.config.jsonadds the fields MTPLX reads for the draft head. The head's wiring copies MTPLX's Bonsai 2 pack, whose
Qwen 3.8 27B head the Prism head descends from.mtplx_runtime.jsonis MTPLX's own verification record for these bytes, written bymtplx forge verify --stamp.build_mtplx_pack.pyrebuilds the pack from the sibling MLX pack.
Measured with mtplx forge verify
MTPLX 2.13.3, Apple M5 Pro with 24 GB, macOS 27.2.1; the long-code-uncapped verification suite (one code
prompt, up to 2,048 new tokens). Depth 0 is the same pack with drafting off. The quality gate passed at every depth,
and MTPLX recorded depth 2 as this pack's default.
| MTP depth | tok/s | vs depth 0 | Drafts accepted by position |
|---|---|---|---|
| 0 | 29.6 | 1.00x | |
| 1 | 49.6 | 1.67x | 95.7% |
| 2 | 53.5 | 1.80x | 95.3%, 88.9% |
| 3 | 48.2 | 1.63x | 91.4%, 79.2%, 62.9% |
This is one prompt; other kinds of text will accept fewer drafts.
Use
Needs MTPLX 2.13 or later. Keep the pack in a folder of its own name:
hf download barozp/Ternary-Bonsai-2.5-27B-Uncensored-MTPLX-2bit \
--local-dir ~/.mtplx/models/barozp-Ternary-Bonsai-2.5-27B-Uncensored-MTPLX-2bit
mtplx serve --model ~/.mtplx/models/barozp-Ternary-Bonsai-2.5-27B-Uncensored-MTPLX-2bit
mtplx run "Explain ternary weights in two sentences." \
--model ~/.mtplx/models/barozp-Ternary-Bonsai-2.5-27B-Uncensored-MTPLX-2bit --depth 2
mtplx serve reads the verified depth from mtplx_runtime.json; mtplx run takes it from --depth.
The weights take 8.6 GB with the vision tower, plus 0.27 GB for the draft head. The KV cache takes 64 KB per token,
because 16 of the 64 layers use full attention.
License
Apache 2.0. Created using Bonsai by Prism ML; built from Qwen3.8-27B by Alibaba Cloud; uncensored edit by
AtomicChat. See NOTICE.txt.