Downloads · 30 days
18
42% of all-time downloads
dfsfdsfd/Ternary-Bonsai-27B-unpacked-heretic
Ternary-Bonsai-27B-unpacked-heretic is a machine learning model from dfsfdsfd. 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.
[!TIP] This model is reproducible! See the README in the reproduce directory for more information.
Downloads · 30 days
18
42% of all-time downloads
All-time downloads
43
Public
Parameters
27.4B
54.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors54.7 GB · 100%
From the Hugging Face model README
[!TIP] This model is reproducible!
See the README in the
reproducedirectory for more information.
| Parameter | Value |
|---|---|
| direction_index | 39.01 |
| attn.o_proj.max_weight | 1.28 |
| attn.o_proj.max_weight_position | 38.28 |
| attn.o_proj.min_weight | 0.29 |
| attn.o_proj.min_weight_distance | 33.83 |
| mlp.down_proj.max_weight | 1.47 |
| mlp.down_proj.max_weight_position | 38.52 |
| mlp.down_proj.min_weight | 1.00 |
| mlp.down_proj.min_weight_distance | 30.86 |
| Metric | This model | Original model (prism-ml/Ternary-Bonsai-27B-unpacked) |
|---|---|---|
| KL divergence | 0.0009 | 0 (by definition) |
| Refusals | 9/100 | 78/100 |
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: