prism-ml/Ternary-Bonsai-27B-mlx-2bit

text-generation model by prism-ml

Open original source ↗

From the publisher

Model card & documentation

Source preview

Read the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.

Prism ML Website  |  Whitepaper  |  Demo & Examples  |  Discord Full 27B-class reasoning in ternary transformer weights — on everyday laptops Each weight takes a value from {−1, 0, +1}, with one shared FP16 scale factor for every group of 128 weights. A ternary value carries log₂3 ≈ 1.585 bits of information, so the effective storage cost is \1.71 bits/weight (ternary code + 16-bit scale amortized over 128 weights) — an idealized \9.4x reduction vs FP16. Relative to the binary format, the extra zero state gives a more expressive weight alphabet and recovers more of the full-precision model's behavior, which makes ternary the quality-oriented operating point of the Bonsai 27B family. Today's kernels store each ternary value in a 2-bit slot (2.125 bits/weight deployed), so the deployed footprint sits above the representation's information-theoretic minimum until native ternary kernels close the gap. The deployed figure describes the language model alone…

prism-ml/Ternary-Bonsai-27B-mlx-2bit on Hugging Face A short preview, not the full document.

Read the full model card ↗ · Preview checked 2026-10-30T17:09:56.712Z

Inside the original model card — Document outline
  1. Ternary Bonsai 27B
  2. Highlights
  3. Resources
  4. Model Overview
  5. Weight Representation: Ternary g128
  6. Memory Requirement
  7. Shipped Components
  8. MLX Packaging
  9. Peak Memory at Context
  10. Best Practices
  11. Generation Parameters
  12. System Prompt

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the model card

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

Model overview

prism-ml/Ternary-Bonsai-27B-mlx-2bit is a text-generation model repository published by prism-ml on Hugging Face. The source reports the mlx library.

This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.

Model facts

Task
text-generation
Library
mlx
Recent downloads (30 days)
983,558
Cumulative likes
219
Hugging Face trending score
0
Reported safetensors parameters
27,356,728,560
Architecture
Qwen3_5ForConditionalGeneration
License
apache-2.0
Access
Not gated by Hugging Face
Created
2026-07-04T00:24:22.000Z
Last modified
2026-07-14T21:39:03.000Z

Compatibility and lineage

Language coverage was not reported.

Reported base models: Qwen/Qwen3.6-27B

Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.

Use and evaluate

Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.

No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.

Model card and usage instructions

Model files and configuration

Community discussion

Source and freshness

Source: Hugging Face Hub. Metadata observed 2026-11-01T06:51:29.042Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related models

openai-community/gpt2

Qwen/Qwen3-0.6B

Qwen/Qwen3-14B

Qwen/Qwen3-4B

Qwen/Qwen3-8B

deepseek-ai/DeepSeek-V3.2