Specifications
Artifacts
The FP16 reference weights (3.45 GB) are in the ternary GGUF repo.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The smallest Bonsai: 0.25 GB on disk for the tightest memory budgets.
| Parameters | ~1.7B |
| Max context | 32,768 tokens (native 8,192, extended 4x via YaRN) |
| Modalities | Text |
| License | Apache 2.0 |
| Family | Format | Repository | On disk |
|---|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-1.7B-gguf | 0.25 GB |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-1.7B-mlx-1bit | 0.27 GB |
| Ternary (1.58-bit) | GGUF | prism-ml/Ternary-Bonsai-1.7B-gguf | 0.46 GB |
| Ternary (1.58-bit) | MLX | prism-ml/Ternary-Bonsai-1.7B-mlx-2bit | 0.48 GB |
BONSAI_MODEL=1.7B ./scripts/run_llama.sh -p "Classify this sentence as positive or negative: ..."
BONSAI_MODEL=1.7B ./scripts/start_llama_server.sh # OpenAI-compatible API on :8080
./llama-cli -m ./Bonsai-1.7B-gguf/Bonsai-1.7B-Q1_0.gguf -c 0 -p "Hello"
mlx_lm.generate --model prism-ml/Ternary-Bonsai-1.7B-mlx-2bit --prompt "Hello"