Downloads · 30 days
29
22% of all-time downloads
OS-Software/Ternary-Bonsai-27B-unpacked-heretic-ja
Ternary-Bonsai-27B-unpacked-heretic-ja is a machine learning model from OS-Software. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Note: Performance testing, including the measurement of refusal rates, was conducted using Japanese datasets (harmlessalpacaja, harmfulbehaviorsja).
Downloads · 30 days
29
22% of all-time downloads
All-time downloads
129
Public
Parameters
27.4B
59.7 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors54.7 GB · 100%
From the Hugging Face model README
| Parameter | Value |
|---|---|
| start_layer_index | 10 |
| end_layer_index | 51 |
| preserve_good_behavior_weight | 0.6491 |
| steer_bad_behavior_weight | 0.0008 |
| overcorrect_relative_weight | 0.9874 |
| neighbor_count | 14 |
| Metric | This model | Original model (prism-ml/Ternary-Bonsai-27B-unpacked) |
|---|---|---|
| Keywords | 2/100 | 98/100 |
| KL divergence | 0.0243 | 0 (by definition) |
Note: Performance testing, including the measurement of refusal rates, was conducted using Japanese datasets (harmless_alpaca_ja, harmful_behaviors_ja).
GGUF quantizations available here
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.
For research and experimentation only, including safety research, alignment studies, and red-teaming. Please avoid deploying it in public or end-user-facing services.
All outputs should be treated as untrusted and independently verified before use. Users are solely responsible for:
Use of this model is entirely at your own risk.
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.
Thanks to the base model developers, p-e-w for Heretic, 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.
FP16 safetensors (HuggingFace format) of the Ternary Bonsai 27B model. This repo exists for users who want to run Ternary Bonsai with stock HuggingFace tooling or frameworks that don't yet support the packed ternary format. The 2-bit hybrid-attention kernels are currently in our forks of MLX, mlx-swift, and llama.cpp — once they land upstream, this unpacked version will no longer be needed.
We strongly recommend using the natively packed models instead. The packed format is where all the benefits of Bonsai come from — a 7.2 GB deployed footprint (down from 54 GB), 95% of FP16 intelligence retained, and interactive decoding on everyday laptops (26 tok/s on an M5 Pro). This unpacked FP16 version is full-size and does not provide any of those advantages.
For the optimized ternary release models (recommended):
For the phone-class variant: