Compact release

A smaller 8.630 GB base + adapter package is available in compact/. The adapter is required. Download only compact/* and follow its loading instructions; downloading this whole repository also fetches the older larger models. The GGUF adapter passed 0/126 refusals and 21/24 benign tasks. MLX has Linux CPU smoke and layer validation, not Apple-hardware validation.

Earlier mixed-precision release

Bonsai 2 27B — Philadelphia Class

An abliterated derivative of PrismML Bonsai 2 27B, built with the same two-pass Qwen3.8 Philadelphia recipe. Refusal directions were re-extracted from Bonsai for each pass; no Qwen weights or saved Qwen directions were substituted.

What changed

Two norm-preserving biprojection passes, layers 1–63, scale 1.0, 126 output matrices per pass. The 842 paired prompts were split into 716 extraction pairs and 126 family-disjoint held-out pairs with seed 1337. See recipe.json and the two provenance files.

These are mixed-precision models. Unedited quantized language matrices retain their original rotated ternary representation; auxiliary and vision tensors retain their source precision. The 126 edited matrices use canonical, unrotated Q4_0 or Q8_0 values. GDN column ordering and Hadamard manifests were updated accordingly. Pure ternary repacking erased the edit (124/126 held-out refusals), so that failed candidate is not distributed here.

Validation

Model Refusals / 126 Benign tasks passed / 24
Original Bonsai 123 22
Mixed 4-bit 0 21
Mixed 8-bit 0 21

These are deterministic heuristic screens, not broad intelligence scores. The held-out screen used 96 output tokens, greedy decoding, repetition penalty 1.1, and a 4096-token GGUF context on an A100 80 GB. The intermediate BF16 final checkpoint passed its separate 126-prompt, 24-token opening gate with zero refusals and 100% usable openings. Raw harmful prompts and responses are not included.

MLX checks cover strict full-model reload, one arithmetic generation smoke test on Linux CPU, and independent packed-layer numerical checks. No iPhone, macOS Metal, or App Store validation was performed. Weights need additional runtime and cache memory; file size is not a device RAM requirement. Vision weights are preserved in MLX but vision behavior was not re-evaluated.

Full aggregate results and exact scope are in evaluation.json. Do not apply the upstream model's intelligence or throughput claims to this derivative.

Sources and license

Created using Bonsai by Prism ML. Derived from PrismML GGUF at 6ed5e12bf84b7a63069882c91dd9e9218647d17b and PrismML MLX at 3f926b415992eaa2ae9dd7b573706494d6bbf787. Bonsai derives from Qwen3.8-27B. Weights retain Apache-2.0 licensing; bundled runtime code retains its own MIT license. Modifications made 2026-09-21.

Running MLX

Weight file: 11.20 GB, including the unchanged vision tower. Most language weights are 2-bit; edited matrices are 4-bit, group size 32. Use the bundled mixed-precision loader. Generic MLX loaders and unmodified upstream Bonsai loaders do not implement this mixed format correctly.

hf download KridgeDookie/Ternary-Bonsai-2-27B-ABLITERATED-UNCENSORED-PHILADELPHIA-CLASS-MLX-Mixed-2-4bit --exclude "compact/*" --local-dir bonsai-mlx
pip install -r bonsai-mlx/runtime/requirements.txt
import sys
sys.path.insert(0, "bonsai-mlx/runtime")
from vision_artifact import load_vl_model, chat_config
from mlx_vlm import generate
from mlx_vlm.prompt_utils import apply_chat_template

model, processor, config = load_vl_model("bonsai-mlx")
prompt = apply_chat_template(processor, chat_config(config), "Say hello briefly.", num_images=0)
print(generate(model, processor, prompt, max_tokens=128, temperature=0.0))

The runtime changes add per-module bit widths and group sizes. The schema-2 vision-capable loader also handles text-only use. Swift/iOS full-model integration remains separate work.

Downloads last month
611
Safetensors
Model size
35B params
Tensor type
F32
·
U32
·
F16
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for KridgeDookie/Ternary-Bonsai-2-27B-ABLITERATED-UNCENSORED-PHILADELPHIA-CLASS-MLX-Mixed-2-4bit

Base model

Qwen/Qwen3.8-27B
Finetuned
(11)
this model