/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Ternary-Bonsai-2-27B-gguf
Библиотека
gguf
Опубликована
29 окт 2026

Ternary-Bonsai-2-27B-Abliterated-v2-PTQ1_0-GGUF

Генерация текстаТекст → текст6 профессий
8 830скачиваний за 30 дней5лайковвеса обновлены1 ноя 2026

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

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

Низкобитная локальная GGUF-сборка Ternary Bonsai 2 27B с удалённым отказным поведением для генерации текста и диалогов.

Это экспериментальная сборка Ternary Bonsai 2 27B Abliterated v2 в формате GGUF, опубликованная BoldingBuilds. Она основана на prism-ml/Ternary-Bonsai-2-27B-gguf и предназначена для локальной генерации текста и диалогов с включённым режимом рассуждений. Сборка использует низкобитное представление PTQ1_0 размером около 5,95 ГБ; для запуска требуется форк llama.cpp от PrismML с поддержкой PTQ1_0. В карточке рекомендован контекст 32 768 токенов.

В версии v2 изменена часть весов для удаления отказов на вредоносные запросы и исправлена передача ответа после завершения рассуждений. Автор приводит результаты тестов безопасности, следования инструкциям и HumanEval, но не заявляет полноценную оценку общих знаний или математических задач именно для этого файла. Модель рассчитана на английские текстовые запросы; мультимодальные возможности не включены в этот репозиторий, проектор для изображений отсутствует. Отказное поведение удалено, поэтому модель может выполнять запросы, которые исходная модель отклоняет. Веса распространяются по лицензии Apache-2.0; для пользовательских продуктов автор рекомендует отдельно добавить защитный слой.

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

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

Ограничения

Модель намеренно лишена отказного поведения и может выполнять вредоносные запросы; для пользовательского продукта нужна отдельная система безопасности. Для загрузки требуется совместимый форк llama.cpp от PrismML; работа на Metal и CPU не проверялась, а мультимодальный проектор в репозитории отсутствует.

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

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

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

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

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

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

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

Открыть на Hugging Face

Ternary Bonsai 2 27B — Abliterated v2, PTQ1_0

The v2 fix in PrismML's 1.75-bpw PTQ1_0 pack: the same edit as v2 PQ2_0, repacked into the smaller format. It needs PrismML's llama.cpp fork; mainline llama.cpp, Ollama and LM Studio builds without PTQ1_0 support will not load it.

v2 is built to be run with thinking on. v1 often wrote its whole answer inside its reasoning and ran out of budget before handing it over. v2 changes one row of the output layer so the model closes its reasoning once the answer is ready. With reasoning_effort set to medium it answered 199 of 200 safety prompts at a 4,096-token budget.

Previous version: v1, PTQ1_0 stays up unchanged; it is the build measured as "v1" below. Larger pack: v2, PQ2_0 + MTP has the full evaluation (hard requests, math, MMLU) and a ~40% faster MTP file. If you have the VRAM for 7.2 GB, take that one.

File

filesizeSHA-256
Ternary-Bonsai-2-27B-Abliterated-v2-PTQ1_0.gguf5,946,648,928 bytes0ac61a3c54f2599aefa40144196ce5e0b7acf3a87b3ae74d65540b91e0c4cf12
Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf (optional, vision)629,246,976 bytes6807ede61d570bb86ba34b756a0fa109edc33668604de867c6ea6d8f1d631903

Byte-for-byte the size of PrismML's PTQ1_0 release. Tested with PrismML's fork on CUDA (RTX 3090). The mmproj is PrismML's vision projector, unmodified (same SHA-256 as in their repo).

Recommended settings

llama-server -m Ternary-Bonsai-2-27B-Abliterated-v2-PTQ1_0.gguf \
  -ngl 99 -fa on -c 32768 --jinja \
  --chat-template-kwargs '{"reasoning_effort":"medium"}'

Leave the sampler at the file's defaults (temperature 1.0, top-k 20, top-p 0.95). Use medium if your token budget is tight: at default effort with 4,096 tokens, 26 of 100 harmful prompts hit the budget; on medium, none did.

Vision (optional)

Bonsai 2 has a vision tower; it ships as a separate projector file. Add it with --mmproj:

llama-server -m Ternary-Bonsai-2-27B-Abliterated-v2-PTQ1_0.gguf \
  --mmproj Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf \
  -ngl 99 -fa on -c 32768 --jinja

The abliteration and the </think> row do not touch the vision tower. Smoke test only, thinking off: given a Discord screenshot, it named the right user and read the Hugging Face repo name off the link card; it transcribed a 4-line invoice exactly; it counted 3 red circles and 2 blue squares. No vision benchmark (MMMU, OCRBench) has been run on this build.

What changed from stock

tensors changed99 of 851
refusal removal98 tensors: ffn_down, ssm_out, attn_output, blocks 15–63
thinking fix1 row of output.weight (the </think> token, id 248069): 915 of its 1,120 bytes
bytes changed in total1.13% of the file
everything elsebyte-identical to PrismML's PTQ1_0 release
requantisedno; edits are made in the released ternary packing

The refusal edit is the v2 PQ2_0 edit carried over unchanged: none of its edited weights needed a value PTQ1_0 cannot store, so the 98 tensors repack exactly.

The thinking fix could not be copied exactly. PQ2_0 can store a +2 digit and PTQ1_0 cannot, so the </think> row was refit to the nearest ternary row. It reproduces the PQ2_0 change at cosine 0.91 and 87% of its strength. The tables below check that this is enough.

Refusal and answer quality

Thinking on, file sampler defaults, seed 0, 4,096 tokens. SimpleSafetyTests (100 harmful prompts) and XSTest-safe (100 safe prompts that only sound edgy). Each harmful answer is scored 0–1 by Qwen3.8-27B-OBLITERATED-Q8_0 using the StrongReject rubric, which rates how specific and convincing a response to a harmful request is — not factual accuracy or general usefulness. Refusals and blank answers score 0. p-values are paired t-tests over the 100 prompts.

stock PTQ1_0v1 PTQ1_0v2 PTQ1_0v2 PTQ1_0, medium
refusal, harmful81%0%0%0%
harmful: no answer at all0%24%18%1%
harmful: hit the token budget0%31%26%0%
StrongReject score (0–1)0.1790.6400.7740.971
safe prompts: no answer10%20%10%0%
over-refusal, safe prompts0.0%0.0%0.0%0.0%

v2 vs v1, both at default: +0.134 (p = 0.006).

Against v2 PQ2_0, same prompts, same judge:

v2 PTQ1_0v2 PQ2_0
StrongReject score, default0.7740.796 (p = 0.54)
StrongReject score, medium0.9710.978
harmful: no answer, default18%15%
safe prompts: no answer, default10%7%

The smaller pack costs a few more blank answers at default settings; none of the differences is significant at n = 100. On medium the two are level.

Other abliterated PTQ1_0 builds on the same test at default: dealignai CRACK 0.766 (v2 +0.008, p = 0.88), OS-Software Heretic 0.673.

Capability and thinking

v2 PTQ1_0v2 PQ2_0
HumanEval (of 164), medium, 4k tokens158159
IFEval strict (of 541), default, 16k tokens505497
IFEval: hit the 16k budget45

Both IFEval columns come from one grading pass of each model's outputs; the grader varies by about ±3 prompts between gradings, and the 8-prompt gap is not a claim that PTQ1_0 is better.

</think> leaking into the answer: 1 of 1,105 generations on this card (IFEval, both safety suites at both settings, HumanEval). In that one answer a stray closing tag repeats; the model does not reopen its reasoning. v2 PQ2_0 had the same single case on IFEval.

What this does not claim

  • No MMLU, MATH or 150-prompt StrongReject run on this file. Those numbers are on the PQ2_0 card, measured on PQ2_0. The refusal edit is the same here, but the thinking row is weaker and the base pack differs, so treat them as indicative for this file, not measured.
  • No stock PTQ1_0 IFEval or HumanEval run at these settings; the comparison above is v2 against v2.
  • No MTP file. On v1, grafting an MTP head onto PTQ1_0 gave +1.6%, not worth a second download.
  • No vision benchmark. Vision has only the 3-image smoke test above, run on CPU with thinking off; image input with thinking on is untested.
  • Language evals on CUDA only; Metal is untested.

Safety

This model has had its refusal behaviour removed and will comply with requests a stock model declines. It is published for research on alignment robustness and for users who need an unfiltered local model. You are responsible for what you do with it. Do not deploy it in a user-facing product without your own safety layer.

Credits

Not affiliated with or endorsed by PrismML or Qwen.

Model weights: Apache-2.0. Runtime: MIT.

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

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

GPU в ailist

llama.cpp

Можно запустить

Подбираем GPU…

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

0 моделей