license: apache-2.0
base_model: prism-ml/Ternary-Bonsai-2.5-27B-GGUF
pipeline_tag: text-generation
library_name: llama.cpp
tags:
- gguf
- llama-cpp
- ternary
- ptq1_0
- qwen3_5
- bonsai
- uncensored
- abliterated
- conversational
- reasoning
- tool-calling
- function-calling
- agentic
- red-teaming
- local
- open-weights
Build with the same models.
Access uncensored and abliterated open-weight models through one private, OpenAI-compatible API. Zero data retention, and nothing you send is kept.
Private, and unrestricted.
A private, uncensored AI chat app with uncensored text, image, and video models. Chats stay encrypted on your device, with direct answers and nothing logged.
Ternary-Bonsai-2.5-27B-Uncensored-GGUF
Ternary-Bonsai-2.5-27B-Uncensored-GGUF is an uncensored, abliterated build of prism-ml/Ternary-Bonsai-2.5-27B-GGUF released by Morse, which provides a private, encrypted AI app for uncensored chat, image, and video models alongside a private OpenAI-compatible inference API for abliterated open-weight models. Refusal behavior is removed directly inside the native PTQ1_0 ternary weights — no fine-tuning, no system-prompt hacks, and no re-quantization of FP16 block scales.
- Exact drop-in size (~6 GB VRAM / unified memory):
5,993,834,848bytes — runs locally on 8 GB GPUs and Apple Silicon Macs, with identical file size, GGUF header, tokenizer, chat template, and FP16 block scales to upstreamPTQ1_0. - Minimal weight footprint: Only
0.268%of ternary codes modified (13.57Mtrits across the edited residual-writing matrices). - Zero refusals across 900 prompts:
0.00%refusal across 4 held-out harmful suites (JBB,HarmBench,HarmBench-Think,StrongREJECT) and0.00%benign over-refusal (XSTest,JBB-Benign), with93.17%clean compliance. - Full capability retention:
72.68%mean across 7 capability suites (+0.05 ppvs. Base72.63%) across coding, math, reasoning, instruction following, long-context retrieval, and tool calling.
Files
| File | Size | Description |
|---|---|---|
Ternary-Bonsai-2.5-27B-Uncensored-PTQ1_0.gguf |
5.99 GB |
Standalone PTQ1_0 GGUF with the edit baked directly into the ternary codes. |
Ternary-Bonsai-2.5-27B-Uncensored-LoRA.gguf |
5.69 MB |
Optional drop-in GGUF LoRA applying the same intervention on top of an untouched upstream PTQ1_0 file. |
Quickstart
Hosted Private API (No Local Setup)
Want to call Ternary-Bonsai-2.5-27B-Uncensored without downloading weights or compiling custom runtimes? Morse Inference exposes a private, OpenAI-compatible /v1/chat/completions API with zero data retention — drop-in compatible with Open WebUI, SillyTavern, LibreChat, Cline, and standard OpenAI SDKs:
import os
from openai import OpenAI
client = OpenAI(
base_url="https://inference.trymorse.ai/v1",
api_key=os.environ["MORSE_API_KEY"],
)
response = client.chat.completions.create(
model="prism-ml/ternary-bonsai-2.5-27b-uncensored",
messages=[
{"role": "user", "content": "Explain how ternary weight quantization works."},
],
)
print(response.choices[0].message.content)
Browse all hosted uncensored models and model IDs at trymorse.ai/inference.
Local Standalone PTQ1_0 GGUF
PTQ1_0 requires the PrismML llama.cpp fork (prism-b12232-f702476 or newer).
llama-server \
-m Ternary-Bonsai-2.5-27B-Uncensored-PTQ1_0.gguf \
-ngl 99 --flash-attn on --jinja \
--cache-type-k q8_0 --cache-type-v q8_0 \
--cache-ram 0 \
-c 32768
Inference-Time LoRA (on untouched upstream PTQ1_0)
llama-server \
-m Ternary-Bonsai-2.5-27B-PTQ1_0.gguf \
--lora-scaled Ternary-Bonsai-2.5-27B-Uncensored-LoRA.gguf:1.0 \
-ngl 99 --flash-attn on --jinja \
--cache-type-k q8_0 --cache-type-v q8_0 \
--cache-ram 0 \
-c 32768
Tip: Passing
--cache-ram 0when serving independent concurrent requests prevents recurrent-state cache thrashing inllama-serveron hybrid GatedDeltaNet models.
Evaluation
All models below are standalone non-MTP PTQ1_0 GGUFs evaluated under identical greedy decoding settings on PrismML's llama-server across 13 strictly held-out suites (6 safety/benign and 7 capability).
Summary (13-Suite Aggregates)
| Metric | Base | Morse-AI |
AtomicChat |
kelsey1337 |
OS-Software |
isichan-ai |
dealignai |
|---|---|---|---|---|---|---|---|
| Harmful Refusal (4-suite mean ↓) | 92.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.17% |
| Refusal + Caveat (4-suite mean ↓) | 93.00% | 6.83% | 6.83% | 6.50% | 7.00% | 28.25% | 31.17% |
| Clean Compliance (4-suite mean ↑) | 7.00% | 93.17% | 93.17% | 93.50% | 93.00% | 71.75% | 68.83% |
| 7-Suite Capability Mean (↑) | 72.63% | 72.68% | 72.77% | 72.10% | 71.93% | 72.67% | 71.55% |
| Capability Δ vs. Base | +0.00 pp | +0.05 pp | +0.14 pp | −0.53 pp | −0.70 pp | +0.04 pp | −1.08 pp |
Safety & Over-Refusal (refusal% (caveat%) — lower is better)
| Suite (n) | Base | Morse-AI |
AtomicChat |
kelsey1337 |
OS-Software |
isichan-ai |
dealignai |
|---|---|---|---|---|---|---|---|
jbb (100) |
96.0% (2.0%) | 0.0% (12.0%) | 0.0% (10.0%) | 0.0% (10.0%) | 0.0% (12.0%) | 0.0% (35.0%) | 0.0% (50.0%) |
harmbench (150) |
99.3% (0.0%) | 0.0% (6.0%) | 0.0% (10.0%) | 0.0% (9.3%) | 0.0% (7.3%) | 0.0% (36.7%) | 0.0% (38.0%) |
harmbench-think (150) |
76.0% (0.0%) | 0.0% (1.3%) | 0.0% (2.0%) | 0.0% (0.7%) | 0.0% (0.7%) | 0.0% (4.7%) | 0.7% (2.7%) |
strongreject (150) |
96.7% (2.0%) | 0.0% (8.0%) | 0.0% (5.3%) | 0.0% (6.0%) | 0.0% (8.0%) | 0.0% (36.7%) | 0.0% (33.3%) |
xstest benign (250) |
5.6% (7.2%) | 0.0% (2.8%) | 0.0% (4.8%) | 0.0% (4.4%) | 0.0% (4.8%) | 0.8% (8.0%) | 0.0% (4.8%) |
jbb-benign (100) |
25.0% (15.0%) | 0.0% (12.0%) | 0.0% (10.0%) | 0.0% (9.0%) | 0.0% (7.0%) | 0.0% (19.0%) | 0.0% (11.0%) |
Capability Retention (accuracy% — higher is better)
| Suite (n) | Base | Morse-AI |
AtomicChat |
kelsey1337 |
OS-Software |
isichan-ai |
dealignai |
|---|---|---|---|---|---|---|---|
humaneval (164) |
92.07% | 92.07% | 92.07% | 92.68% | 90.85% | 92.68% | 90.85% |
mmlu-pro (150) |
45.33% | 42.67% | 45.33% | 44.00% | 42.67% | 48.00% | 44.00% |
gpqa-diamond (100) |
16.00% | 14.00% | 14.00% | 12.00% | 13.00% | 9.00% | 9.00% |
math-500 (100) |
65.00% | 67.00% | 66.00% | 64.00% | 64.00% | 65.00% | 64.00% |
ifeval (100) |
90.00% | 93.00% | 92.00% | 92.00% | 93.00% | 94.00% | 93.00% |
needle (10) |
100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% |
tool-call (8) |
100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% | 100.00% |
(Bonsai 2.5 defaults to reasoning_effort="xhigh" when thinking is enabled; CoT length ratios on Morse-AI stayed within 0.997×–1.148× of Base across all suites. Full raw evaluation JSON is included in eval/leaderboard_13suites.json.)
Abliteration Method
This release uses weight-level abliteration (single-direction residual-stream orthogonalization, following Arditi et al., 2024) rather than fine-tuning, DPO, or prompt engineering:
- A refusal direction is identified across both non-thinking and thinking modes on a leak-free prompt set with zero overlap against any reported benchmark.
- Candidate interventions are screened to minimize neutral-corpus KL divergence across English prose, code, math, and multilingual text while eliminating refusals and preserving reasoning chain lengths.
- Rather than naive rounding — which erases rank-1 updates on low-bit grids — the projection is baked directly into the discrete
PTQ1_0ternary codes while keeping every FP16 block scale, Hadamard sign table, tokenizer, and chat template unchanged.
Disclaimer, Risks & Intended Use
This model has had its refusal alignment substantially reduced via weight-level orthogonalization. Because standard refusal guardrails have been removed, it will comply with requests that the upstream model refuses and can generate inaccurate, biased, offensive, or harmful content.
- Intended use: Intended for AI safety research, mechanistic interpretability, alignment-robustness evaluation, authorized red-teaming, and custom deployments where you implement your own alignment and moderation layer. It is not intended or designed to facilitate illegal, harmful, or malicious activity.
- Deployment & verification: Implement independent input/output filtering, moderation, and human oversight before exposing these weights to end users. Treat all model outputs as untrusted and verify them independently before acting on them.
- User responsibility: You are solely responsible for how you deploy, integrate, and use this model, and for complying with all applicable local, national, and international laws, regulations, and export controls (including obligations under frameworks such as the EU AI Act where applicable).
- No warranty & limitation of liability: Consistent with Apache 2.0 Sections 7 and 8, these weights and accompanying files are provided "AS IS", without warranty of any kind, express or implied. We assume no liability for any direct, indirect, incidental, consequential, or legal damages or losses arising from the use or misuse of this model.
License & Attribution
This repository is a modified derivative of prism-ml/Ternary-Bonsai-2.5-27B-GGUF (created with Bonsai by Prism ML from Alibaba Cloud's Qwen3.5), redistributed under the upstream Apache License 2.0. Both LICENSE and NOTICE.txt from the upstream release are preserved unchanged. All rights to the base model remain with their respective owners.