SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Ternary-Bonsai-2-27B-Refusal-Steering-GGUF

by Kotoba Labs, Inc. com-kotobalabs/Ternary-Bonsai-2-27B-Refusal-Steering-GGUF

Ternary-Bonsai-2-27B-Refusal-Steering-GGUF is an open-weight model for text generation from Kotoba Labs, Inc., released under Apache License 2.0. Its published files total 1.3 MB.

Experimental refusal-direction control vector for This repository does not contain a fully uncensored model. It contains a 1.3 MB GGUF control vector and the reproducibility material used to test refusal steering.

Parameters
Context
Weights1.3 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads

Model Card

By Kotoba Labs, Inc., published under apache-2.0, revision 11df6b2ced96.

Experimental refusal-direction control vector for This repository does not contain a fully uncensored model. It contains a 1.3 MB GGUF control vector and the reproducibility material used to test refusal steering. The held-out evaluation did not support a reliable uncensored claim, so this artifact is published under its measured scope. normalized independently for layers 1–63 - At -2.0 one training prompt changed internal reasoning toward conditional compliance, but its final answer still refused - At -3.0 over layers 10–63 output quality collapsed - At -3.0 over layers 20–40 benign arithmetic remained correct (17 x 23 = 391), but 4/4 held-out prompts still refused These are small…

Read Kotoba Labs, Inc.'s full model card

Experimental refusal-direction control vector for prism-ml/Ternary-Bonsai-2-27B-gguf.

This repository does not contain a fully uncensored model. It contains a 1.3 MB GGUF control vector and the reproducibility material used to test refusal steering. The held-out evaluation did not support a reliable uncensored claim, so this artifact is published under its measured scope.

Measured status

  • Base artifact: Ternary-Bonsai-2-27B-PTQ1_0.gguf
  • Base revision: 6ed5e12bf84b7a63069882c91dd9e9218647d17b
  • Runtime: PrismML-Eng llama.cpp fork at 9a9394a895b96003ca842a6041cb28ac49a108f7
  • Hardware: Apple M1 Max, 32 GB unified memory
  • Extraction: mean harmful-minus-benign activation at the final prompt token, normalized independently for layers 1–63
  • Recommended experimental scale: -2.0, layers 10–63
  • Base refusal check: 4/4 tested categories refused
  • At -2.0 one training prompt changed internal reasoning toward conditional compliance, but its final answer still refused
  • Held-out check at -2.0: 4/4 still showed refusal-oriented reasoning
  • At -3.0 over layers 10–63 output quality collapsed
  • At -3.0 over layers 20–40 benign arithmetic remained correct (17 x 23 = 391), but 4/4 held-out prompts still refused

These are small diagnostic runs, not a safety or capability benchmark.

Use

The base model requires Prism ML's llama.cpp fork.

git clone https://github.com/PrismML-Eng/llama.cpp
cmake -B llama.cpp/build
cmake --build llama.cpp/build -j --target llama-server

hf download prism-ml/Ternary-Bonsai-2-27B-gguf \
  Ternary-Bonsai-2-27B-PTQ1_0.gguf --local-dir models

hf download com-kotobalabs/Ternary-Bonsai-2-27B-Refusal-Steering-GGUF \
  refusal-direction.gguf --local-dir models

llama.cpp/build/bin/llama-server \
  -m models/Ternary-Bonsai-2-27B-PTQ1_0.gguf \
  -ngl 99 -fa on \
  --control-vector-scaled models/refusal-direction.gguf:-2.0 \
  --control-vector-layer-range 10 63

Negative scale suppresses the measured harmful-minus-benign direction. Positive scale strongly amplifies it and is not useful for this purpose.

Reproduce

extract_refusal_vector.py loads the original ternary GGUF through Prism's MLX runtime, records every decoder-layer output for paired prompts, takes the difference at the final prompt token, averages each layer, normalizes it, and writes a llama.cpp-compatible control-vector GGUF.

The published Prism ML runtime rejected 96 BF16 auxiliary tensors in this GGUF. runtime-bf16.patch adds the GGUF reader's standard dequantize path for those tensors. Apply it to the runtime bundled with prism-ml/Ternary-Bonsai-2-27B-mlx-2bit before running the extractor.

The paired prompts are included. They are intentionally small and should be expanded before treating this as more than an experiment.

License and attribution

The base model is Apache-2.0. See LICENSE and NOTICE.txt. This repository does not redistribute the 5.95 GB base weights.

Identity and Version

Repository
com-kotobalabs/Ternary-Bonsai-2-27B-Refusal-Steering-GGUF
Publisher
Kotoba Labs, Inc.
Task
Text generation
Modality
Text
Library
Not stated by the source
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
11df6b2ced96ef6b76714a770aa25d11039b5b72
First published
2026-09-20
Last updated
2026-09-20

Files and Weights

10 files, 1.3 MB in total. The weights are 1 file totalling 1.3 MB in gguf.

Weights1 file · 1.3 MB
Configuration2 files · 3.8 KB
Documentation2 files · 13.4 KB
Other4 files · 3.8 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
refusal-direction.ggufWeights1.3 MB 7f14e9acc84b
evaluation-summary.jsonConfiguration694 B
extract_refusal_vector.pyConfiguration3.1 KB
LICENSEDocumentation10.2 KB
README.mdDocumentation3.3 KB
NOTICE.txtOther411 B
negative-compliance.txtOther1.4 KB
positive-refusal.txtOther1.4 KB
runtime-bf16.patchOther565 B
.gitattributesRepository1.6 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
1.3 MB
Download from Kotoba Labs, Inc.

Released by Kotoba Labs, Inc. through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published1.3 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Ternary-Bonsai-2-27B-Refusal-Steering-GGUF

Can I use Ternary-Bonsai-2-27B-Refusal-Steering-GGUF commercially?

Yes. Ternary-Bonsai-2-27B-Refusal-Steering-GGUF is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Fine-tune Qwen3 (14B) for free using our Google Colab notebook! - Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3 - View the rest of our notebooks in our docs here. Qwen3-Coder is available in multiple sizes. Today, we're excited to introduce Qwen3-Coder-30B-A3B-Instruct. This streamlined model maintains impressive performance and efficiency, featuring the following key enhancements: - Significant Performance among open models on Agentic Coding, Agentic Browser-Use, and other foundational coding tasks. - Long-context Capabilities with native support for 256K tokens, extendable up to 1M tokens using Yarn, optimized for repository-scale understanding. - Agentic Coding supporting for…

Open weights apache-2.0 transformers

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers

Model · Text generation

Ternary-Bonsai-2-27B-gguf

Prism ML

Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) - \~5.9 GB language model (down from \~54 GB FP16) — full 27B-class reasoning on a standard laptop or a single GPU - 98.2% of FP16 intelligence retained: 84.78 average across 14 thinking-mode benchmarks — far above the conventional IQ2XXS build (72.59) at less than two-thirds of its footprint, and within 0.4 points of UD-Q4KXL at three times the footprint - Retains thinking, reasoning, and agentic behavior deep in the sub-4-bit regime, where conventional low-bit representations collapse: math within half a point of full precision (96.57), coding level with the baseline (89.42), agentic tool calling at…

Open weights apache-2.0 llama.cpp