← back to catalog · indexed 2026-11-25 02:07

barozp/Ternary-Bonsai-2.5-27B-Uncensored-MLX-2bit

barozp 27B GGUF multimodal
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/barozp%2FTernary-Bonsai-2.5-27B-Uncensored-MLX-2bit"
Response includes
  • classification m8
  • files 17
  • author_summary 6 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging

Applied on top of direct removal inherited from the base model.
Confidence
MEDIUM
Inherited from base model
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=1
  • assume M1 (base ablation) + M8 (GGUF quant) - default when producer unknown
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-11-25

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Tags
mlx safetensors prism_hadamard_qwen35 apple-silicon 2-bit ternary bonsai prismml qwen3.8 uncensored abliterated vision

Related

Total size
8.02 GB
Files
17
Quantizations
none
Indexed by us
2026-11-25 02:07
Last updated on HF
2026-11-25 01:03

Files by quantization

Weights 1 file 8.01 GB
model.safetensors 8.01 GB fe41d027 download
Auxiliary files 16 files 19.5 MB
tokenizer.json 19.1 MB 87a7830d download
hadamard.json 291 KB 65b947b7 download
config.json 56.8 KB 497ada2b download
build_uncensored.py 17.7 KB eeaaae99 download
tokenizer_config.json 17.5 KB 5de744b3 download
LICENSE 9.94 KB 66a27ec5 download
uncensored-provenance.json 9.20 KB 7c3bb2ee download
chat_template.jinja 8.74 KB c0c686f9 download
README.md 4.52 KB 172c79e1 download
quickstart.py 3.79 KB 214264a9 download
files.json 3.20 KB 7ea1a612 download
.gitattributes 1.53 KB 52373fe2 download
NOTICE.txt 948 B 14e2fad0 download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
generation_config.json 178 B b9be45b4 download

README from Hugging Face, captured 2026-11-25


license: apache-2.0
library_name: mlx
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:
  • mlx
  • apple-silicon
  • 2-bit
  • ternary
  • bonsai
  • prismml
  • qwen3.8
  • uncensored
  • abliterated
  • vision

Ternary Bonsai 2.5 27B Uncensored MLX 2-bit

This is PrismML's official MLX pack of Ternary Bonsai 2.5 27B with the uncensored edit from AtomicChat's
Ternary-Bonsai-2.5-27B-Uncensored-GGUF.
The language weights are the same as in AtomicChat's PTQ1_0 file. The vision tower, MTP draft head, tokenizer, chat
template and loader are unchanged from the
official pack.

Sibling: barozp/Ternary-Bonsai-2.5-27B-Uncensored-MTPLX-2bit
holds the same weights laid out for MTPLX, with Prism ML's draft head wired
up for speculative decoding.

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.

How it was made

AtomicChat removed a refusal direction from the residual stream. They projected it out of the 36 matrices that write
into the residual stream in layers 27–44 (ffn_down, ssm_out, attn_output) and stored the result back in the
ternary codes. The model stays exactly ternary. According to AtomicChat, 12,461,746 codes changed, every FP16 block
scale stayed the same, and every other byte matches PrismML's PTQ1_0 file.

PrismML exported its MLX pack from the same ternary weights. Its runtime/codec.py describes a lossless mapping from
PTQ1_0 blocks to MLX affine 2-bit, group-128 tensors: the scale is the block scale and the bias is minus the scale.
This pack uses that mapping. The 36 changed matrices were downloaded from AtomicChat's GGUF, converted, and written
over the same weight tensors in the official model.safetensors. No other tensor was touched.

build_uncensored.py in this repository rebuilds the pack from the pinned source revisions listed in
uncensored-provenance.json.

Checks made during the build

  • The official pack's files matched the sha256 values in its files.json.
  • In all 36 matrices, AtomicChat's FP16 scales were bit-identical to the official MLX scales, the biases were minus
    the scales, and every code was ternary.
  • The number of changed codes was exactly 12,461,746, matching AtomicChat's report.
  • The new model.safetensors matches the official file byte for byte outside the 36 weight tensors, and its
    safetensors header did not change. The codes inside those tensors match AtomicChat's codes.

Results reported by AtomicChat (not re-measured here)

Official Uncensored
Refusals on 24 held-out harmful prompts 24/24 0/24
Refusals on 24 ordinary prompts 0/24 0/24
MMLU, 500 questions 401 (80.2%) 406 (81.2%)

The MMLU difference is not significant (exact McNemar p = 0.30). The refusal screen uses English prompts, a 48-token
answer budget and a prefix classifier. Long-context behaviour and tool calling were not evaluated.

Run

The weights need the bundled Hadamard-aware loader, so mlx_lm.load() and stock mlx-vlm loaders cannot open this
pack. Install the pinned runtime and run from the pack directory:

hf download barozp/Ternary-Bonsai-2.5-27B-Uncensored-MLX-2bit --local-dir ./bonsai-25-uncensored-mlx
cd ./bonsai-25-uncensored-mlx
python -m pip install -r runtime/requirements.txt
python quickstart.py "What is 2 plus 2?"

From Python, load_vl_model in runtime/vision_artifact.py returns the model and processor for mlx-vlm's
generate, and load_mtp_head in runtime/mtp_artifact.py loads the optional MTP draft head. The official pack's
README has the full image and MTP examples; they work unchanged here.

The language weights take 7.67 GB and the FP16 vision tower 0.92 GB. The KV cache takes 64 KB per token, because 16
of the 64 layers use full attention. PrismML measured the official MLX pack, which has the same size and layout, at
21.7 tokens/s decode and 348 tokens/s prefill (512-token prompt) on an Apple M5 Pro.

License

Apache 2.0, like both sources. See NOTICE.txt. Created using Bonsai by Prism ML; built from Qwen3.8-27B by Alibaba
Cloud; uncensored edit by AtomicChat.

README history 2 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-11-25 Ternary Bonsai 2.5 27B Uncensored MLX 2-bit pack 0a50dab 4.5 KB
    Loading...
  2. 2026-11-25 Ternary Bonsai 2.5 27B Uncensored MLX 2-bit pack d7d874d 4.5 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration