anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Runs a 27B-class reasoning model as a 1-bit GGUF file of about 3.9 GB for llama.cpp, so it fits a laptop or one GPU. For people who want local reasoning on everyday hardware.
Bonsai-27B-gguf is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download prism-ml/Bonsai-27B-gguf
Bonsai 27B is a 1-bit build of a 27B-class reasoning model, packed as a GGUF file for llama.cpp. It derives from Qwen3.6-27B and stores its language weights as single bits with a shared scale for each group. The deployed size is about 3.9 GB, against roughly 54 GB at FP16, so it can run on a laptop or one GPU. The authors say it keeps about 90 percent of FP16 quality.
It suits people who want a large reasoning model on everyday hardware and are comfortable running specialized llama.cpp builds.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Local AI hobby | Enthusiasts | Run a 27B-class model on a laptop | Chatting with the model offline on a Mac using Metal |
| Software development | Developers | Test a small-footprint reasoning model inside a local app | Serving it with llama.cpp on a single GPU |
| Edge and mobile | App builders | Look at the MLX companion for Apple Silicon and iPhone | Trying the MLX version on a phone |
| Model research | Researchers | Study 1-bit weights and speculative decoding | Comparing it with the ternary companion |
You can skip it if your runtime cannot load the author's 1-bit kernels, since stock builds may not read this format.
| Use case | Who | What they get back |
|---|---|---|
| Local reasoning chat | Anyone with a laptop | Reasoning and coding answers from a file that fits in memory |
| Image questions | Vision users | Answers about pictures, using the optional vision pack |
| Faster decoding | GPU users | A lossless 1.37x speedup on CUDA from the bundled drafter layer |
You need Python for the download tool and a llama.cpp build that includes the 1-bit kernels. The weights take about 3.9 GB, plus 0.63 GB if you want image input.
pip install -U huggingface_hub hf download prism-ml/Bonsai-27B-gguf
The visible card gives the download step but no run command. It points to the author's demo repository for serving and benchmarking, and to a whitepaper for the method. Once your build loads the file, you chat with it like any local model. A drafter layer for speculative decoding ships with it.
| Variant | Runs on | Size |
|---|---|---|
| GGUF 1-bit, this repository | llama.cpp on CUDA, Metal or CPU | About 3.9 GB |
| MLX 1-bit | Apple Silicon, including iPhone | Not stated |
| Ternary GGUF | llama.cpp | About 7.2 GB |
You load the GGUF in a build with the 1-bit kernels and ask a math or coding question. The model reasons through it and writes the answer. The authors measured roughly 44 tokens per second on an Apple M5 Pro laptop.
If you are new to this, think of a huge model squeezed into a small file by storing each weight as a single bit. A first small try is the download step, then one short question once a compatible build is ready.
For people who know the field, each weight is a sign bit and every group of 128 shares one FP16 scale, which comes to 1.125 bits per weight. Embeddings, attention, MLP and the LM head are all binary, and the vision tower uses 4-bit HQQ. A hybrid backbone with about 75 percent linear attention keeps the cache small.
The quality figures come from the authors. Across 15 thinking-mode benchmarks they report an average of 76.11, which is 89.5 percent of FP16.
Runs a 27B-class reasoning model as a 1-bit GGUF file of about 3.9 GB for llama.cpp, so it fits a laptop or one GPU. For people who want local reasoning on everyday hardware.
Made by prism-ml on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Bonsai 27B is a 1-bit build of a 27B-class reasoning model, packed as a GGUF file for llama.cpp. It derives from Qwen3.6-27B and stores its language weights as single bits with a shared scale for each group. The deployed size is about 3.9 GB, against roughly 54 GB at FP16, so it can run on a laptop or one GPU. The authors say it keeps about 90 percent of FP16 quality.
Who it suits: It suits people who want a large reasoning model on everyday hardware and are comfortable running specialized llama.cpp builds.
Industry | Who uses it | How they use it | Example
Local AI hobby | Enthusiasts | Run a 27B-class model on a laptop | Chatting with the model offline on a Mac using Metal
Software development | Developers | Test a small-footprint reasoning model inside a local app | Serving it with llama.cpp on a single GPU
Edge and mobile | App builders | Look at the MLX companion for Apple Silicon and iPhone | Trying the MLX version on a phone
Model research | Researchers | Study 1-bit weights and speculative decoding | Comparing it with the ternary companion
You can skip it if your runtime cannot load the author's 1-bit kernels, since stock builds may not read this format.
Where to use it:
Use case | Who | What they get back
Local reasoning chat | Anyone with a laptop | Reasoning and coding answers from a file that fits in memory
Image questions | Vision users | Answers about pictures, using the optional vision pack
Faster decoding | GPU users | A lossless 1.37x speedup on CUDA from the bundled drafter layer
How to set it up: You need Python for the download tool and a llama.cpp build that includes the 1-bit kernels. The weights take about 3.9 GB, plus 0.63 GB if you want image input.
pip install -U huggingface_hub
hf download prism-ml/Bonsai-27B-gguf
How to use it: The visible card gives the download step but no run command. It points to the author's demo repository for serving and benchmarking, and to a whitepaper for the method. Once your build loads the file, you chat with it like any local model. A drafter layer for speculative decoding ships with it.
Variant | Runs on | Size
GGUF 1-bit, this repository | llama.cpp on CUDA, Metal or CPU | About 3.9 GB
MLX 1-bit | Apple Silicon, including iPhone | Not stated
Ternary GGUF | llama.cpp | About 7.2 GB
Example: You load the GGUF in a build with the 1-bit kernels and ask a math or coding question. The model reasons through it and writes the answer. The authors measured roughly 44 tokens per second on an Apple M5 Pro laptop.
For newcomers and experts: If you are new to this, think of a huge model squeezed into a small file by storing each weight as a single bit. A first small try is the download step, then one short question once a compatible build is ready.
For people who know the field, each weight is a sign bit and every group of 128 shares one FP16 scale, which comes to 1.125 bits per weight. Embeddings, attention, MLP and the LM head are all binary, and the vision tower uses 4-bit HQQ. A hybrid backbone with about 75 percent linear attention keeps the cache small.
Title: Size in GB
FP16 original: 54 GB
Ternary Bonsai: 7.2 GB
1-bit Bonsai: 3.9 GB
You download the GGUF file
A build with 1-bit kernels loads the packed weights
The drafter layer proposes tokens ahead
The model checks them and writes the answer
Good to know: The quality figures come from the authors. Across 15 thinking-mode benchmarks they report an average of 76.11, which is 89.5 percent of FP16.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download prism-ml/Bonsai-27B-gguf
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Bonsai-27B-gguf This page | 179,818 | 945 | 26.9B | apache-2.0 | |
| Bonsai-1.7B-GGUFShares 1-bit · cuda · bonsai | 173,963 | 100 | 1.7B | apache-2.0 | |
| 1-bit Bonsai 27B (MLX)Shares 1-bit · cuda · bonsai | 1,003,554 | 291 | 1.7B | apache-2.0 | |
| Bonsai-1.7B-unpackedShares bonsai · prismml | 2,362 | 15 | 1.7B | apache-2.0 | |
| MNN-Pocket-0.3B-GGUFShares llama-cpp · on-device · gguf | 12,467 | 20 | 362M | apache-2.0 | |
| MiniCPM5-2B-GGUFShares on-device · llama.cpp · gguf | 481,119 | 393 | 2.5B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.