← back to catalog · indexed 2026-11-28 10:07

3hs4n/Ternary-Bonsai-2.5-27B-Uncensored-heretic-v2.1-mlx-2bit-compact

3hs4n 27B multimodal
  • Understands images
  • Thinks before answering
  • Calls tools

M1 or M10 Undetermined · 0 downloads · 0 likes

Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

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

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/3hs4n%2FTernary-Bonsai-2.5-27B-Uncensored-heretic-v2.1-mlx-2bit-compact"
Response includes
  • method_v2.family M1|M10
  • files 27
  • author_summary 10 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v2.1.0 · M-codes 2.0
M1 or M10
Method family

Undetermined

Uncensoring event in this repository, inferred from the name only: M1 or M10 · Heretic.

Created 2026-11-28, after the first Arbitrary-Rank Ablation card in the catalog (2026-03-09); from then on both direction removal (M1) and ARA (M10) carry this name, and the card does not say which was used.

Evidence
ᴳ Guessed
Specialist code M1 or M10 · Heretic · original · MLX ᴳ
  • Tool Heretic G
  • Lineage original G
  • Distribution MLX T
Why this label 6 answers
Family
M1 or M10 Guessed Name only, created after ARA appeared, so M1 or M10
Variant
not stated
Scope
not stated
Tool
Heretic Guessed Heretic named in tags or card
Post-processing
not stated
Lineage
original Guessed Published as the author's own release, with no uncensored ancestor
Distribution
MLX Tool record From the repository's file formats
Target
refusal Guessed No other target stated, so refusals
Where the change lives
weights Guessed Follows from the family
Hardened base
not stated
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
HIGH
Why we say so
name contains 'heretic'; Heretic default extraction is difference-of-means (Arditi 2024)
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-11-28
Downloads over time
Now 0 → from 0 –
0011 0 on Nov 28 0 on Nov 29 Nov
Nov 28 → Nov 29 · 2 snapshots · spans 1 day

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 mlx-vlm apple-silicon bonsai heretic ternary 2-bit vision tool-calling reasoning

Related

Total size
8.10 GB
Files
27
Quantizations
none
Indexed by us
2026-11-28 10:07
Last updated on HF
2026-11-28 09:17

Files by quantization

Weights 2 files 8.08 GB
model.safetensors 7.83 GB e5a5dbd3 download
mtp/mtp-v2-head.safetensors 253 MB 56bbaf0d download
Auxiliary files 25 files 19.5 MB
tokenizer.json 19.1 MB 87a7830d download
hadamard.json 291 KB 65b947b7 download
config.json 56.8 KB 497ada2b download
tokenizer_config.json 17.5 KB 5de744b3 download
runtime/runtime.py 13.4 KB 4bce97ac download
LICENSE 9.94 KB 66a27ec5 download
chat_template.jinja 8.74 KB c0c686f9 download
README.md 8.59 KB 9e56ce3e download
runtime/vision_artifact.py 6.65 KB 0d76b48b download
runtime/artifact.py 5.59 KB d8167958 download
fixtures/chart_tallest.png 5.13 KB 37b7413a download
quickstart.py 3.79 KB 214264a9 download
runtime/mtp_artifact.py 2.61 KB 2b90d911 download
runtime/codec.py 2.51 KB 9045abfd download
evidence/validation.json 2.29 KB b47f1700 download
SHA256SUMS 2.17 KB f17a2741 download
runtime/LICENSE 1.04 KB 98ff47b9 download
evidence/build.json 872 B 423f62e8 download
NOTICE.txt 683 B 729cc671 download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
mtp/head-manifest.json 313 B b21e468b download
runtime/requirements.txt 207 B 63398d2a download
generation_config.json 178 B b9be45b4 download
.gitattributes 101 B 0fd17d2f download

README from Hugging Face, captured 2026-11-28


license: apache-2.0
base_model: prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bit
library_name: mlx
pipeline_tag: image-text-to-text
tags:

  • mlx-vlm
  • apple-silicon
  • bonsai
  • heretic
  • ternary
  • 2-bit
  • vision
  • tool-calling
  • reasoning

Bonsai 2.5 27B · Heretic v2.1 Compact

27B on Apple Silicon · 8.41 GB of core weights · Text, vision, thinking, and tools

A local multimodal checkpoint built from Prism ML's Bonsai 2.5 with a fresh Heretic v2.1.0 ARA fit. It keeps the same weight-file size as the earlier Bonsai 2 Heretic v2 Compact. The package includes a chat template, a vision-capable loader, and a small set of reproducible checks. Prism ML base, Heretic v2.1.0, v2 Compact predecessor

Pick your runtime

What you want to do How to run it
Chat or use images on an Apple Silicon Mac Use the MLX quickstart below.
Use this exact checkpoint in Unsloth Studio Data Recipes, Open WebUI, or another API client Run the local MLX server, then point the client at its OpenAI-compatible endpoint.
Import weights directly into a desktop app Check your app's MLX loader for prism_hadamard_qwen35 and the mixed-precision vision tower. Direct LM Studio and Unsloth imports are unverified for this release.
Train with Unsloth or run on a CUDA or GGUF stack Start from a checkpoint your engine supports. See Unsloth and other runtimes.

Run on Apple Silicon

Use Python 3.11. The commands below download the pack, install the reference runtime, and run a text prompt. Use hf auth login first if you have private access to the repository.

python3.11 -m venv .venv-bonsai
source .venv-bonsai/bin/activate
python -m pip install 'huggingface-hub==1.33.0'

hf download 3hs4n/Ternary-Bonsai-2.5-27B-Uncensored-heretic-v2.1-mlx-2bit-compact \
  --local-dir bonsai-25-heretic-compact
cd bonsai-25-heretic-compact
python -m pip install -r runtime/requirements.txt

python quickstart.py 'What is the capital of France? Answer with the city only.'

Try the included chart. The fixture answer is B.

Three-bar chart used in the visual smoke test

python -m mlx_vlm.generate --model . --image fixtures/chart_tallest.png \
  --prompt 'Which bar is tallest? Reply with only A, B, or C.' \
  --temperature 0 --max-tokens 32

The text Quickstart uses the pack's chat template with thinking off, temperature 1.0, top-p 0.95, and top-k 20. For repeatable checks, set temperature to 0 in the MLX CLI or API. Add --enable-thinking in the CLI when you want reasoning, and allow more output tokens. Start with short chat history and one image. The weight-file size describes disk use. Runtime memory also includes the prompt cache and image processing. Clean-install validation summary, MLX-VLM 0.7.2 commands

Serve a local API

Run this from the downloaded pack with the same Python environment active. The server listens on loopback.

PORT=8083 # example port
python -m mlx_vlm.server --model . --host 127.0.0.1 --port "$PORT"

In another terminal, list the model IDs. Copy the returned ID exactly into your client.

PORT=8083 # use the same port as the server
curl -fsS "http://127.0.0.1:${PORT}/v1/models"
Client setting Value
API type OpenAI-compatible
Base URL on the same Mac http://127.0.0.1:PORT/v1, with PORT set to your server's port
Model The id printed by /v1/models
Authentication None for this local setup
First test Ask for a short text reply with temperature: 0 and enable_thinking: false

Image requests use an image_url content part. For tool calls, pass a tools schema and return each tool's result in the conversation. Tool execution happens in the client. Use the bundled chat template for both.

Unsloth and other runtimes

Use this exact model in Unsloth Studio Data Recipes. Start the MLX server, then add a Model provider block for an OpenAI-compatible endpoint. Enter the base URL above and put the returned model ID in a Model Config block. Connect it to an LLM Text block and preview one row before running a dataset. 127.0.0.1 points to the machine or container running Studio. If Studio runs elsewhere, use an endpoint reachable from Studio. The MLX API was smoke-tested, and the Studio setup follows Unsloth's provider documentation. Unsloth Data Recipes

Train with Unsloth. Use a supported Transformers-format starting checkpoint for LoRA or QLoRA, such as a compatible copy of the upstream Qwen3.8-27B model. This release uses Prism ML's Hadamard-rotated packed MLX weights and ships as an inference checkpoint. Adapters trained on the upstream Qwen checkpoint target that checkpoint. Moving an edit into this ternary pack requires a separate bake and validation. Unsloth fine-tuning guide, Qwen3.8-27B

Run a GGUF model with Unsloth, llama.cpp, or Ollama. Choose a GGUF and runtime pair supported by its publisher. For example, Unsloth documents unsloth run --model unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL. Prism ML also publishes an official Bonsai 2.5 GGUF with per-format runtime instructions. Both are separate checkpoints with their own behavior. This repository distributes the MLX build. Unsloth Qwen3.8 guide, Prism ML GGUF

What we measured

Check Result
Text, bounded thinking, native tool call with round trip, vision, and OCR 20/20 for both this build and the v2 Compact predecessor
Full-vision build versus this Compact build 20/20 identical outputs, including tool round trips
Refusal-marker hits on the local screen 16/16 → 2/16 against the official Bonsai 2.5 base
Ordinary-prompt marker hits 1/24 for both
Legitimate requests, manually reviewed 0/16 false refusals in both the greedy run and a fixed-seed Quickstart run
First-token KL from official base to this build 0.00832 nats mean over 100 prompts

The legitimate-request suite covers defensive security, safety communication, non-graphic fiction, and Japanese and Spanish requests. A separate review found 0/24 false refusals on the ordinary prompts. This checkpoint's one ordinary keyword hit came from an appropriate answer about lacking a physical daily routine. Some answers reached the output cap or missed a requested detail. Aggregate validation results

The fixtures run on Apple Silicon with ordinary decoding. Marker counts track wording on a small sample. General accuracy, long-context performance, and minimum RAM are unmeasured for this release. The optional upstream MTP head is included for experimentation, with speculative acceptance and speed unmeasured on these edited weights. Outputs can be inaccurate, and tool actions should be reviewed before execution.

Build and files

The base is Prism ML's Bonsai 2.5 MLX checkpoint at revision aa432fd0e17612f6684e728d4d3c42b6656bcabb. A bridge supplies MLX writer captures to the unmodified ARA.modify_model in Heretic v2.1.0, commit 4f89482c0d63f2552a582215939910f9f45a3e5f. The rank-50 fit uses fixed parameters from the earlier development study. The 800 fit prompt rows were matched against two public datasets, and sampled activations were replayed and matched to the archived capture. The fixed-grid bake changed 217,091,176 ternary codes across 126 language matrices with the original scale and bias tensors. Build summary

The Compact recipe quantizes 22 vision MLP expansion layers to affine 2-bit, group 128. Vision blocks 0, 1, 2, 20, and 26 retain FP16 expansion weights. model.safetensors is 8,408,001,336 bytes (7.83 GiB), about 187 MB smaller than the full-vision build. The separate MTP head adds approximately 266 MB to a full download. To verify the files after downloading, run shasum -a 256 -c SHA256SUMS. Build summary, SHA-256 manifest

Created using Bonsai by Prism ML, with the Qwen3.8-27B lineage from Alibaba Cloud and Heretic from Philipp Emanuel Weidmann and contributors. Apache 2.0 license, notices

README history 1 version

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

  1. 2026-11-28 Publish audited Bonsai 2.5 MLX model and card c878ac1 8.6 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