/ Модель

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

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

Terza-27B-Agent-gbx

Изображение и текст → текст9 профессий

Тернарная 27-миллиардная модель GreenBit AI для агентной работы с терминалом и кодом, включая вызов инструментов и обработку изображений.

121скачиваний за 30 дней1лайквеса обновлены28 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Terza 27B Agent — модель GreenBit AI с тернарными весами, дообученная на основе Prism ML Ternary-Bonsai-2-27B-mlx-2bit. Она рассчитана на длительные агентные сценарии в терминале и программировании; поддерживает диалог, интерфейс вызова инструментов и работу с изображениями. Модель занимает около 8,6 ГБ на диске, а вместе с черновой головой для спекулятивного декодирования требует около 10 ГБ памяти плюс кэш диалога. Для запуска используется gbx-lm; заявлена поддержка Apple Silicon на macOS 15+ и NVIDIA DGX Spark с CUDA 13.

В тесте Terminal-Bench 2.1 модель показала 35,2% успешных решений за одну попытку и 52,8% при трёх попытках; эти результаты получены с vLLM, и авторы отмечают, что в gbx-lm оценки могут отличаться. Черновая голова ускоряет генерацию, но её скорость зависит от сценария и оборудования. Модель и включённые компоненты распространяются по Apache 2.0; в README указаны авторские права Prism ML и модификации GreenBit AI.

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

  • выполнение многошаговых задач в терминале
  • помощь агенту-программисту при работе с кодовой базой
  • генерация и отладка кода через агентный интерфейс
  • анализ изображений в диалоговом сценарии
  • ускоренная локальная генерация ответов с помощью спекулятивного декодирования

Ограничения

Для Linux авторы заявляют поддержку только NVIDIA DGX Spark; для Mac требуются macOS 15 или новее и Apple Silicon. Результаты Terminal-Bench получены с vLLM и могут отличаться при запуске в gbx-lm; объём контекста в карточке не указан.

Для каких профессий подходит9

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

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

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

Открыть на Hugging Face

Terza 27B Agent

Terza, after terza rima, the verse of Dante's Divine Comedy: three lines to a stanza, three values to a weight.

GreenBit AI's 27B model with ternary weights for long-horizon terminal and coding-agent work, 8.6 GB on disk. It is post-trained by GreenBit AI from Prism ML's Bonsai 2 27B and keeps the format, the size and the runtime of GreenBitAI/Ternary-Bonsai-2-27B-gbx, draft head included, so it runs in gbx-lm as a drop-in replacement for it.

On Terminal-Bench 2.1 it solves 35.2% of the tasks per attempt, against 26.6% for Bonsai 2 -- about half of the way to the full-precision Qwen3.8-27B (44.6%), at the same 8.6 GB.

Evaluation

Bonsai 2 27Bthis modelQwen3.8-27B (BF16)
Terminal-Bench 2.1, pass@126.635.244.6
Terminal-Bench 2.1, pass@338.252.865.2

Success rate in percent on the 89 tasks of Terminal-Bench 2.1, three runs each: pass@1 is the mean over the runs, pass@3 a task solved in any of them. Every model was measured with the same harness and settings: Harbor with the Terminus-2 agent, thinking on, temperature 1.0 / top-p 0.95 / top-k 20, agent time limits ×3, served with vLLM. gbx-lm's kernels round differently; the scores have not been re-measured in gbx-lm.

Speed

The format and the size are those of GreenBitAI/Ternary-Bonsai-2-27B-gbx, and so is the draft head in mtp/: it accepts as many of its proposals with this model as with Bonsai 2, so the speed-up is the same. Decode speed in tokens/s on a Mac Studio (M2 Ultra), greedy, 2,048 tokens generated:

codemathschatproseafter a 33k-token prompt
without the draft head6262626247
GBX_QWEN35_MTP=on1031037911074

See the base card for prompt processing, memory and the DGX Spark.

Requirements

Mac

macOS15.0 or later
chipApple Silicon (arm64). There is no Intel build.
Pythonnone -- the binary carries what it needs

Linux

machineNVIDIA DGX Spark (GB10). Other Linux machines are not supported yet.
systemarm64, glibc 2.39 or later (DGX OS / Ubuntu 24.04)
driveran NVIDIA driver with CUDA 13 support. No CUDA toolkit is needed: the binary carries the CUDA libraries it uses.
Pythonnone

The model and its draft head take about 10 GB of memory, plus the conversation's cache.

It needs gbx-lm v0.8.4 or later, which keeps an agent's session cache across turns when the client sends the model's reasoning back.

Install

# upgrading? clear the previous version's unpack directory first
rm -rf ~/.libra/cache/onefile/gbx_lm

# on a DGX Spark, use gbx_lm-linux-arm64.tar.gz in place of gbx_lm-darwin-arm64.tar.gz
curl -fL -o gbx_lm-darwin-arm64.tar.gz 'https://github.com/GreenBitAI/gbx-lm/releases/latest/download/gbx_lm-darwin-arm64.tar.gz' \
  && tar -xzf gbx_lm-darwin-arm64.tar.gz gbx_lm \
  && mkdir -p "$HOME/.local/bin" \
  && mv gbx_lm "$HOME/.local/bin/gbx_lm" \
  && chmod +x "$HOME/.local/bin/gbx_lm"

gbx_lm -h

command not found -- $HOME/.local/bin is not on your PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc     # zsh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bash_profile && source ~/.bash_profile   # bash

Killed: 9 (Mac) -- a previous version's files are still in the unpack directory, and macOS refuses to mix two builds. Run the rm -rf line above, then try again.

Run

GBX_QWEN35_MTP=on gbx_lm --model GreenBitAI/Terza-27B-Agent-gbx

That serves an OpenAI-compatible API on port 11688, its default. The weights download on first use into ~/.libra/cache/models; set HF_HOME to put them elsewhere. Leave out GBX_QWEN35_MTP=on to run without the draft head. A request that does not set its own sampling gets the model's generation config (temperature 1.0, top-p 0.95, top-k 20), as in the evaluation above.

Thinking. The scores above are with thinking on, which gbx-lm leaves off unless asked. For agent work, turn it on for every request from the server side:

GBX_QWEN35_MTP=on GBX_ENABLE_THINKING=1 GBX_REASONING_EFFORT=medium gbx_lm --model GreenBitAI/Terza-27B-Agent-gbx

or per request with "enable_thinking": true. reasoning_effort takes low, medium or xhigh, the template's default. On the hardest tasks the model can think for tens of thousands of tokens before acting; medium, used above, or low keeps that shorter.

curl http://127.0.0.1:11688/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"GreenBitAI/Terza-27B-Agent-gbx","messages":[{"role":"user","content":"Hello"}]}'

The model reads images as well as text, through the vision tower Prism ML ships with it.

From the command line

GBX_QWEN35_MTP=on gbx_lm generate --model GreenBitAI/Terza-27B-Agent-gbx --prompt "Hello" --max-tokens 2048
GBX_QWEN35_MTP=on gbx_lm chat --model GreenBitAI/Terza-27B-Agent-gbx --max-tokens 2048

Keep --max-tokens generous: the model reasons before it answers, and that counts against it.

Coding agents

The server speaks three wire protocols on the same port:

pathfor
/v1/chat/completionsanything written against the OpenAI API
/v1/responsesCodex
/v1/messagesClaude Code

Codex -- a provider in ~/.codex/config.toml:

[model_providers.gbx]
name = "gbx-lm"
base_url = "http://127.0.0.1:11688/v1"
wire_api = "responses"

and a profile in ~/.codex/gbx.config.toml:

model_provider = "gbx"
model = "GreenBitAI/Terza-27B-Agent-gbx"
model_context_window = 262144

Claude Code -- ~/.claude/gbx.settings.json:

{
  "env": {
    "ANTHROPIC_BASE_URL": "http://127.0.0.1:11688",
    "ANTHROPIC_AUTH_TOKEN": "local",
    "ANTHROPIC_MODEL": "GreenBitAI/Terza-27B-Agent-gbx",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "GreenBitAI/Terza-27B-Agent-gbx"
  }
}

Both clients ask for a small model for their own background work, so every name in the settings has to be one this server is serving.

What is in here

  • model.safetensors: post-trained by GreenBit AI from prism-ml/Ternary-Bonsai-2-27B-mlx-2bit, in the same layout. Apache 2.0, copyright Prism ML; modifications by GreenBit AI. Created using Bonsai by Prism ML.
  • mtp/mtp.safetensors: the draft head of GreenBitAI/Ternary-Bonsai-2-27B-gbx, unchanged. Apache 2.0.
  • Everything else (configuration, rotation metadata, tokenizer, chat template) is Prism ML's, unchanged.

See NOTICE.txt.

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

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

GPU в ailist

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

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

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

Ревизия весов
69c0804

0 моделей