跳到正文
The Decoder·· 11 天前精选

Bonsai 2.5开放权重,保持5.9GB模型体积并改善Agent编码

AI 导读

PrismML推出基于Qwen3.8-27B的Ternary Bonsai 2.5,采用三值权重并以Apache 2.0许可开放。厂商测试中,SWE-bench Verified成绩由上一版60.8%升至75.6%,仍低于全精度基座的80.6%。支持通过llama.cpp和MLX在相应设备上运行。

推荐理由

为本地编码Agent提供新的低内存模型选择,发布与许可已由官方公告交叉确认。5.9GB指模型体积,性能数字属厂商测试,未独立复测。

正文 · 原文

Startup PrismML has released Ternary Bonsai 2.5 27B, an updated version of its aggressively compressed language model. It's based on Qwen3.8-27B and takes up just 5.9 GB of memory, same as its predecessor. That's possible because of ternary quantization, where each weight can only be one of three values (−1, 0, or +1) instead of the usual 16-bit storage. At full precision, a model this size would need about 54 GB.

Bonsai 2.5 is designed to perform more reliably on agentic tasks that involve long chains of tool calls. It needs fewer passes and tokens than Bonsai 2, and it's less likely to get stuck in loops or spiral into drawn-out reasoning phases.

The benchmark numbers reflect the improvement. On SWE-bench Verified, the score jumps from 60.8 to 75.6 percent. The full Qwen model hits 80.6. On AppWorld, an agent benchmark, Bonsai leaps from 51.2 to 90.5, landing just behind the base model. On LiveCodeBench v6, the new version scores slightly lower than its predecessor.

On an RTX 4090, the model generates about 204 tokens per second using multi-token prediction. The weights are available under an Apache 2.0 license and run via llama.cpp on Nvidia and Intel GPUs, as well as through MLX on Mac, iPhone, and iPad. PrismML grew out of a research team at Caltech and is backed by Khosla Ventures, Google, and Samsung, among others. The company first introduced Bonsai 27B in July, built on an older Qwen model. Its smallest variant needed less than 4 GB of memory, small enough to run directly on an iPhone.

来源:The Decoder · the-decoder.com