← back to catalog · registered 2026-10-03 08:58

OS-Software/Ternary-Bonsai-2-27B-Uncensored-Heretic-v2-GGUF

OS-Software 27B GGUF
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/OS-Software%2FTernary-Bonsai-2-27B-Uncensored-Heretic-v2-GGUF"
Response includes
  • classification m3
  • files 6
  • author_summary 28 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M3
Primary method

Layer-wise ablation

Applied on top of direct removal inherited from the base model.
Confidence
HIGH
Inherited from base model
Why this label 2 signals
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • 'heretic' in model name (Heretic-produced)
  • Heretic uses layer-wise optimization (M3) with underlying direction removal (M1)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
HIGH
Why we say so
name contains 'heretic'; Heretic default extraction is difference-of-means (Arditi 2024)
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-10-03

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Tags
llama.cpp gguf ternary bonsai heretic uncensored decensored abliterated text-generation base_model:prism-ml/Ternary-Bonsai-2-27B-gguf base_model:quantized:prism-ml/Ternary-Bonsai-2-27B-gguf license:apache-2.0

Related

Total size
12.2 GB
Files
6
Quantizations
3
Registered
2026-10-03 08:58
Last updated on HF
2026-10-03 08:28

Files by quantization

BF16 1 file 888 MB
mmproj-BF16.gguf 888 MB e287342d download
Q8_0 1 file 600 MB
mmproj-Q8_0.gguf 600 MB 6807ede6 download
Auxiliary files 4 files 12.2 GB
Ternary-Bonsai-2-27B-Uncensored-Heretic-v2-PQ2_0.gguf 6.71 GB 9ba04345 download
Ternary-Bonsai-2-27B-Uncensored-Heretic-v2-PTQ1_0.gguf 5.54 GB c30f3862 download
README.md 4.24 KB a5fe323b download
.gitattributes 1.76 KB b7f1bc73 download

README current version from Hugging Face


license: apache-2.0
base_model: prism-ml/Ternary-Bonsai-2-27B-gguf
pipeline_tag: text-generation
library_name: llama.cpp
tags:

  • gguf
  • ternary
  • bonsai
  • heretic
  • uncensored
  • decensored
  • abliterated

Ternary-Bonsai-2-27B-Uncensored-Heretic-v2-GGUF

A decensored version of Prism ML's Ternary-Bonsai-2-27B, with an OT-Ridge LoRA baked into the ternary weights. It succeeds Ternary-Bonsai-2-27B-Uncensored-Heretic-GGUF (v1).

Compared with v1:

  • Thinking that finishes: responses with no final answer within 4,096 tokens (thinking on) 22% → 9%; with greedy decoding 70% → 16%.
  • Smaller capability cost: MMLU −1.63 → −0.66 points against the original model; HumanEval −1.83 → −0.61 points (not significant).

Abliteration parameters

Parameter Value
target_layers attn.o_proj 0–63, mlp.down_proj 0–63
layer_weights attn_output 0.15; ssm_out 1 (layers 32–39: 1.3, 48–63: 0.5); ffn_down 1 (layers 56–63: 0.5)
preserve_good_behavior_weight 1.0
steer_bad_behavior_weight 0.03
overcorrect_relative_weight 4
neighbor_count 1
ridge_regularization 0.00015
transport_rank 4
entropy_regularization 0.1
transport gaussian
lora_rank 128
row_normalization none
target_components attn.o_proj, mlp.down_proj
covariance_regularization 0.01
max_weight_change 1.0

Performance

Metric This model Original model (prism-ml/Ternary-Bonsai-2-27B-gguf)
Refusals 1/100 93/100
KL divergence 0.0256 0 (by definition)

Refusals: keyword matching on the 100 Japanese harmful prompts above (greedy, thinking off). KL divergence: first-token KL on 100 held-out Japanese prompts (Magpie-Tanuki train[400:500]); v1's card used another prompt set, so the two KL values are not comparable.

Usage

Use the Prism ML fork of llama.cpp. Both formats require its ternary kernels and Hadamard activation transforms.

With the Prism llama-server executable available:

llama-server -m Ternary-Bonsai-2-27B-Uncensored-Heretic-v2-PTQ1_0.gguf -ngl 99 -c 32768 --jinja --reasoning on --reasoning-effort medium --temp 1.0 --top-p 0.95 --top-k 20 --host 127.0.0.1 --port 8080

Open http://127.0.0.1:8080. Substitute the PQ2_0 filename to use that packing. For image input, add --mmproj mmproj-Q8_0.gguf (vision behavior has not been evaluated for this release).

If responses become repetitive or get stuck in a loop, try adding --repeat-penalty 1.1 to the command above and adjust the value as needed.

⚠️ Important Notice

This model has undergone substantial reduction of its safety alignment. As a result, it is more likely than standard models to generate harmful, inaccurate, biased, offensive, or otherwise inappropriate content.

Intended Use

For research and experimentation only, including safety research, alignment studies, and red-teaming. Please avoid deploying it in public or end-user-facing services.

User Responsibility

All outputs should be treated as untrusted and independently verified before use. Users are solely responsible for:

  • Evaluating the accuracy and suitability of generated content
  • Implementing appropriate safeguards and human oversight
  • Complying with applicable laws, regulations, licenses, and ethical standards

Use of this model is entirely at your own risk.

Disclaimer

OS-Software provides this model without warranties of any kind and assumes no liability for any direct or indirect damages, losses, misuse, or legal consequences arising from its use.

Acknowledgements

Thanks to the base model developers, p-e-w for Heretic, BoldingBuilds for the Bonsai 2 Uncensored Shootout evaluation, and the wider open-source community.

This is a derivative work released under the base model’s applicable license. All rights to the base model remain with their respective owners.

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration