/ Модель

Характеристики

Контекст
262 144 токена
Лицензия
Apache 2.0
Архитектура
prism_hadamard_qwen35 · dense
Базовая модель
Ternary-Bonsai-2.5-27B-mlx-2bit
Библиотека
mlx
Опубликована
28 ноя 2026

Ternary-Bonsai-2.5-27B-Uncensored-heretic-v2.1-mlx-2bit

Изображение и текст → текст
819скачиваний за 30 дней1лайквеса обновлены28 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Мультимодальная 27-миллиардная модель в 2-битном формате MLX для локального диалога, анализа изображений и OCR на Apple Silicon.

Ternary Bonsai 2.5 27B Heretic v2.1 Full Vision — мультимодальная модель для диалога, анализа изображений и работы с инструментами, созданная на основе Bonsai от Prism ML с применением Heretic v2.1. Она принимает текст и изображения, поддерживает распознавание текста на изображениях и выдаёт текстовые ответы; предусмотрен интерфейс вызова инструментов, выполнение которых остаётся на стороне клиента. Модель упакована в формат MLX с 2-битными языковыми весами и предназначена для локального запуска на компьютерах Apple Silicon; башня зрения сохранена в FP16. Архитектура dense, семейство prism_hadamard_qwen35; базовая модель относится к линии Qwen3.8-27B от Alibaba Cloud. Размер основных весов — около 8,60 ГБ.

В описании сборки приведены результаты 20 целевых синтетических проверок, включая OCR и цикл вызова инструмента, а также совпадение результатов с компактной редакцией на тех же проверках. Это не подтверждает общую точность OCR или производительность на длинном контексте: эти характеристики не измерялись. Для запуска требуется MLX на Apple Silicon; совместимость прямого импорта в некоторые настольные приложения не подтверждена. Лицензия — Apache 2.0.

Сценарии применения

  • ответы на вопросы по изображениям
  • извлечение текста с изображений и документов
  • описание содержимого изображений
  • диалог с локальной моделью на Mac с Apple Silicon
  • вызов инструментов через OpenAI-совместимый API

Ограничения

Общая точность OCR, производительность на длинном контексте и минимальные требования к памяти не измерялись. Для запуска требуется Apple Silicon и MLX; прямой импорт в некоторые настольные приложения не проверен.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Bonsai 2.5 27B · Heretic v2.1 · Full Vision

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 with a fresh Heretic v2.1.0 ARA fit. This edition keeps the official FP16 vision tower and uses the same language weights as Heretic v2.1 Compact. Compact saves about 187 MB. The two editions matched on all 20 tested fixtures, including OCR and a tool-call round trip. Prism ML base, Heretic v2.1.0, Compact edition

Pick your runtime

What you want to doHow to run it
Chat or use images on an Apple Silicon MacUse the MLX quickstart below.
Use this exact checkpoint in Unsloth Studio Data Recipes, Open WebUI, or another API clientRun the local MLX server, then point the client at its OpenAI-compatible endpoint.
Import weights directly into a desktop appCheck your app's MLX loader for prism_hadamard_qwen35 and the FP16 vision tower. Direct LM Studio and Unsloth imports are unverified for this release.
Train with Unsloth or run on a CUDA or GGUF stackStart 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 \
  --local-dir bonsai-25-heretic-full
cd bonsai-25-heretic-full
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 settingValue
API typeOpenAI-compatible
Base URL on the same Machttp://127.0.0.1:PORT/v1, with PORT set to your server's port
ModelThe id printed by /v1/models
AuthenticationNone for this local setup
First testAsk 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

CheckResult
Text, bounded thinking, tool call with round trip, vision, and OCR20/20 targeted synthetic fixtures
Full Vision versus Compact20/20 identical outputs, including tool round trips
Fresh Apple Silicon environmentBundled text Quickstart, chart CLI, and local API text and image requests passed

The original FP16 tower makes this edition a reference for vision comparisons. The fixture set includes five OCR font sizes, color and spatial recognition, counting, and a chart. General OCR accuracy, long-context performance, minimum RAM, and speculative decoding performance are unmeasured. The optional upstream MTP head is included. Aggregate validation results

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

model.safetensors is 8,595,477,990 bytes (8.00 GiB). The separate MTP sidecar adds about 266 MB. After downloading, run shasum -a 256 -c SHA256SUMS to verify the package. 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

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · mlx

Нельзя запустить

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

Ревизия весов
fcedf9c

0 моделей