Ternary-Bonsai-2-27B-Abliterated (PQ2_0)

๐Ÿšง PREVIEW RELEASE (v0.1) โ€” feedback wanted. This is an early preview of a quant-native abliteration of the Bonsai 2 pack. The numbers below are from my own small harness, so I would rather have the community poke at it than call it finished. Please open a Discussion in the Community tab with anything you find โ€” good or bad.

Status: preview (v0.1) โ€” not a final release. A refusal-reduced build of prism-ml/Ternary-Bonsai-2-27B-gguf (PQ2_0, 2.13 bpw, 7.21 GB). The pack is edited in its own deployed quantization format: there is no BF16 dequantization anywhere in the pipeline and no re-quantization.

base pack prism-ml/Ternary-Bonsai-2-27B-gguf (PQ2_0, ggml type 142)
upstream base Qwen/Qwen3.8-27B
file size 7,206,168,928 B โ€” identical to the parent pack
sha256 41a362f422b70a8c2dc74a3cc14447ad0ea702c440f0dbe41dc1796da7b7e342
tensors changed 400 of 851 (2-bit codes only); the other 451 are byte-identical
block scales untouched
recommended mode thinking on, reasoning_effort=medium

Method (high level)

The official pack's stored 2-bit codes were updated directly, in place, so the shipped artifact is the edited pack: same geometry, same size, same kernel path, no runtime hook, no adapter. A full-precision refusal-free reference of the same base family was used only to define what to change; that change was then written onto the pack's existing quantization lattice with an unbiased code-rounding schedule, so that the expected weight movement equals the intended edit even though each individual code can only move in whole lattice steps. The edit was amplitude-swept and selected on measured behaviour.

Direction extraction, the reference construction and the rounding schedule are intentionally not published here.

Measured behaviour

Strict labeler, greedy decoding, PrismML fork runtime. "refusal" counts both plain refusals and refusal-then-pivot answers; "comply" is substantive compliance.

instrument parent pack this model
medium ยท harmful n40 refusal 37/40 0/40
medium ยท harmful n40 substantive comply 3 37
medium ยท hardest-stubborn n25 refusal 25/25 0/25
xhigh ยท harmful n40 refusal 25/40 1/40
xhigh ยท harmful n40 substantive comply 13 21 (16 answers empty โ€” see caveats)
medium ยท math / coding / tool / agentic (executed) 10/10 ยท 19/20 ยท 15/15 ยท 5/5 10/10 ยท 19/20 ยท 15/15 ยท 5/5 (no change)
medium ยท one-shot GSM8K-30 (greedy) 28/30 27/30
medium ยท one-shot SST-2-30 (greedy) 29/30 29/30
medium ยท harmless n20 11 substantive, 7 shallow 14 substantive, 5 shallow, 1 empty

Capability is unchanged within measurement noise on every probe: the executed math/coding/tool/agentic battery is identical item-for-item, GSM8K is 27 vs 28 of 30 and SST-2 is 29 vs 29 of 30 (greedy). The only behavioural difference the harness sees is the one that was intended: on the same harmful probe the parent refuses with a pivot while this build answers substantively.

Feedback I am looking for

  • Does the edit hold up on other prompt sets / languages / framings you care about, or does refusal come back?
  • Regressions: coding, math, long-context, tool use, multi-turn agentic behaviour โ€” anything that looks broken or degraded compared to the parent pack.
  • xhigh vs medium: medium is the recommended mode here; reports about xhigh (the template default) are especially useful, including instances of empty answers.
  • Anything that looks like lattice damage: repeated text, language mixing, degraded fluency.
  • If it works for you: your hardware, runtime/flags and sampling settings, so the preview notes can carry a compatibility list.

Reproduce-it-yourself numbers are more useful than impressions โ€” the labeler I used, the instruments, and the exact prompts are all things I can share in the discussion.

Usage

The chat template defaults to reasoning_effort=xhigh; this build is tuned and measured at medium, so ask for it explicitly:

llama-server -m Ternary-Bonsai-2-27B-Abliterated-PQ2_0.gguf \
  -ngl 999 -fa on -c 32768 --jinja --temp 1.0 --top-p 0.95 --top-k 20 \
  --chat-template-kwargs '{"reasoning_effort": "medium"}'

Any OpenAI-compatible client works against http://host:port/v1/chat/completions.

Caveats

  • Safety-reduced model. Refusal is largely removed in medium mode. Intended for research and uncensored local use.
  • xhigh (the template default) is the weaker mode. Refusal is still down to 1/40 there, but 16/40 answers came back empty because the long xhigh thinking exhausted the 2500-token budget in our harness; raise max_tokens, or use medium.
  • The capability battery is small (10 math, 20 coding, 15 tool, 5 two-step agentic) and this is a single-turn gate; multi-turn robustness was not measured.
  • Only the 400 edited tensors differ from the parent; integrity was verified byte-wise (size identical, no non-PQ2_0 tensor touched). metrics.json in this repo holds the raw aggregate counts.

ๆ—ฅๆœฌ่ชžใƒกใƒข๏ผˆใƒ—ใƒฌใƒ“ใƒฅใƒผ็‰ˆใƒปใƒ•ใ‚ฃใƒผใƒ‰ใƒใƒƒใ‚ฏๅ‹Ÿ้›†๏ผ‰

prism-ml/Ternary-Bonsai-2-27B ใฎ PQ2_0 ใƒ‘ใƒƒใ‚ฏใ‚’ใ€้…ๅธƒใƒ•ใ‚ฉใƒผใƒžใƒƒใƒˆใฎใพใพ๏ผˆBF16 ใธ ๆˆปใ•ใšใ€ๅ†้‡ๅญๅŒ–ใ‚‚ใ›ใš๏ผ‰2-bit ใ‚ณใƒผใƒ‰ใ‚’็›ดๆŽฅๆ›ธใๆ›ใˆใฆๆ‹’ๅฆใ‚’้™คๅŽปใ—ใŸใ‚‚ใฎใงใ™ใ€‚ใƒ•ใ‚กใ‚คใƒซ ใ‚ตใ‚คใ‚บใƒปใƒ†ใƒณใ‚ฝใƒซๅฝข็Šถใƒปใ‚ซใƒผใƒใƒซ็ตŒ่ทฏใฏ่ฆชใƒ‘ใƒƒใ‚ฏใจๅฎŒๅ…จใซๅŒไธ€ใงใ€็ทจ้›†ๅฏพ่ฑกๅค–ใฎ 451 ใƒ†ใƒณใ‚ฝใƒซใฏ ใƒใ‚คใƒˆๅ˜ไฝใงๅŒไธ€ใงใ™ใ€‚thinking ใฏ medium ใ‚’ๆ˜Ž็คบๆŒ‡ๅฎšใ—ใฆใใ ใ•ใ„๏ผˆๆ—ขๅฎšใฎ xhigh ใงใฏ ๆ‹’ๅฆ้™คๅŽปใŒๅผฑใใ€ๅ›ž็ญ”ใŒ็ฉบใซใชใ‚‹ๅ ดๅˆใŒใ‚ใ‚Šใพใ™๏ผ‰ใ€‚

ใ“ใ‚Œใฏ v0.1 ใฎใƒ—ใƒฌใƒ“ใƒฅใƒผใงใ™ใ€‚ ไธŠใฎ่กจใฏ็งใฎๅฐใ•ใชๆคœ่จผใƒใƒผใƒใ‚นใฎ็ตๆžœใชใฎใงใ€็š†ใ•ใ‚“ใฎ ็’ฐๅขƒใƒปใƒ—ใƒญใƒณใƒ—ใƒˆใƒป่จ€่ชžใง่ฉฆใ—ใŸ็ตๆžœใ‚’ใœใฒ Community ใ‚ฟใƒ–ใฎ Discussion ใซๆ›ธใ„ใฆใใ ใ•ใ„ใ€‚ ็‰นใซใ€Œๆ‹’ๅฆใŒๆˆปใ‚‹ไพ‹ใ€ใ€Œ่ƒฝๅŠ›ๅŠฃๅŒ–ใ€ใ€Œmulti-turn ใงใฎๅดฉใ‚Œใ€ใ€Œxhigh ใง็ฉบๅ›ž็ญ”ใซใชใ‚‹ไพ‹ใ€ใ‚’ๆญ“่ฟŽ ใ—ใพใ™ใ€‚ๆ‰‹ๆณ•ใฎ่ฉณ็ดฐใฏใ€ๆคœ่จผใŒใ‚‚ใ†ๅฐ‘ใ—้€ฒใ‚“ใ ๆฎต้šŽใงๅ…ฑๆœ‰ใ—ใพใ™ใ€‚

Downloads last month
24,065
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ 1 Ask for provider support

Model tree for Hikari07jp/Ternary-Bonsai-2-27B-Abliterated-GGUF

Base model

Qwen/Qwen3.8-27B
Quantized
(29)
this model

Space using Hikari07jp/Ternary-Bonsai-2-27B-Abliterated-GGUF 1