Specifications
| Parameters | ~4B |
| Max context | 32,768 tokens (native 8,192, extended 4x via YaRN) |
| Modalities | Text |
| Layers | 36 |
| Hidden size | 2,560 |
| Attention | 32 heads, 8 KV heads (GQA) |
| Vocabulary | 151,669 (embeddings tied with LM head) |
| License | Apache-2.0 |
Artifacts
| Family | Format | Repository | On disk |
|---|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-4B-gguf | 0.57 GB |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-4B-mlx-1bit | 0.63 GB |
| Ternary (1.58-bit) | GGUF | prism-ml/Ternary-Bonsai-4B-gguf | 1.07 GB |
| Ternary (1.58-bit) | MLX | prism-ml/Ternary-Bonsai-4B-mlx-2bit | 1.13 GB |