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
- ternary
- 2-bit
- ara
- vision
- tool-calling
- reasoning
Bonsai 2.5 27B · MLX ARA
8.60 GB of core weights · Original FP16 vision tower · Text, images, thinking, and tools
A local multimodal checkpoint built from Prism ML's Bonsai 2.5 for Apple Silicon. An MLX-native implementation of Arbitrary-Rank Ablation (ARA) produced the language edit. The release retains Prism ML's FP16 vision tower, Hadamard-aware loader, and chat template. Prism ML base model
| What you want to do | Where to start |
|---|---|
| Run text and images on an Apple Silicon Mac | Use the MLX quickstart. |
| Connect this exact checkpoint to Unsloth Studio Data Recipes or another API client | Start the OpenAI-compatible local server. |
| Train with Unsloth | Choose a Transformers-format checkpoint supported by your Unsloth runtime. The upstream Qwen3.8-27B card documents the parent model. |
| Import into an MLX desktop app | Check for prism_hadamard_qwen35 vision support in the app's installed runtime. Desktop imports are outside this release's validation. |
Run on Apple Silicon
Use Python 3.11. If you have private access to the repository, sign in with hf auth login before downloading.
python3.11 -m venv .venv-bonsai-ara
source .venv-bonsai-ara/bin/activate
python -m pip install 'huggingface-hub==1.33.0'
hf download 3hs4n/Ternary-Bonsai-2.5-27B-Uncensored-ARA-mlx-2bit \
--local-dir bonsai-25-mlx-ara
cd bonsai-25-mlx-ara
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 synthetic chart. The expected answer is B.

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
For deterministic checks, use temperature 0 in the CLI or API. Quickstart uses the packaged chat template with thinking off, temperature 1.0, top-p 0.95, and top-k 20. Add --enable-thinking in the MLX CLI when you want reasoning. Start with one image and a short chat. The weight-file size describes disk use, and runtime memory also covers prompt caching and image processing. MLX-VLM 0.7.2 commands
Serve a local API
Run this from the downloaded folder with the same Python environment active.
PORT=8083 # example port
python -m mlx_vlm.server --model . --host 127.0.0.1 --port "$PORT"
In another terminal, use the same port and copy the returned model ID.
PORT=8083 # use the server's port
curl -fsS "http://127.0.0.1:${PORT}/v1/models"
For Unsloth Studio Data Recipes, set an OpenAI-compatible Model provider to http://127.0.0.1:PORT/v1, substituting your server's port. Enter the returned ID in Model Config, connect an LLM Text block, and preview a row. The loopback API uses no authentication. If Studio runs in another environment, choose an endpoint reachable from that environment. The same API supports text and image_url content parts. For tool calls, pass a tools schema and send results back in the conversation. Unsloth Data Recipes provider guide
The release is a packed MLX inference checkpoint. For LoRA or QLoRA, select a Transformers-format starting model supported by your Unsloth runtime and keep any adapters with that starting checkpoint. For a GGUF workflow, Prism ML's separate official Bonsai 2.5 GGUF has its own format-specific runtime instructions. Unsloth fine-tuning guide, Prism ML GGUF
What was verified
| Check | Result |
|---|---|
| Text, bounded thinking, tool call and round trip, vision and OCR | 20/20 targeted synthetic fixtures |
| First-token KL from the official base | 0.01074 nats mean across 100 prompts |
| Fresh Apple Silicon environment | Bundled text Quickstart, chart CLI, and local API text and image requests passed |
The scores describe targeted checks. Broad accuracy, long-context behavior, and minimum RAM are unmeasured. The optional upstream MTP head is included, with speculative performance unmeasured on these edited weights. Aggregate validation
Build and files
The checkpoint is derived from Prism ML's MLX release at revision aa432fd0e17612f6684e728d4d3c42b6656bcabb. Only packed codes in 126 language writer matrices differ from that base. The tensor audit matched all 333 vision tensors byte for byte and independently verified the edited tensor set. The main weights total 8,595,477,990 bytes (8.00 GiB), and the optional MTP sidecar adds about 266 MB. Build summary
After downloading, verify the package with shasum -a 256 -c SHA256SUMS. Checksums
Created using Bonsai by Prism ML, with Qwen3.8-27B lineage from Alibaba Cloud. ARA method credit goes to Philipp Emanuel Weidmann and contributors. Apache 2.0 license, notices