Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Generates text with a 1.7B language model packed to 1 bit per weight, about 0.24 GB, for llama.cpp on CUDA, Metal and CPU. For developers who need a tiny local model.
Bonsai-1.7B-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-1.7B-gguf
Bonsai-1.7B is a small text generation model where every weight, including embeddings and the output head, is stored in a single bit. It uses the Qwen3-1.7B design, packed in the GGUF Q1_0 format. The weights take about 0.24 GB, against 3.44 GB at FP16, and it runs in llama.cpp on CUDA, Metal and CPU.
Developers who need a language model on a small device or with little memory, and who are happy to use the maker's fork of llama.cpp.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Mobile apps | App developers | Run a small model on a phone or tablet | The card lists Swift for iPhone and iPad, and Android |
| Edge computing | Embedded engineers | Fit a language model into tight memory | Load a 0.24 GB model on a small machine |
| Hobby projects | Local AI tinkerers | Try 1-bit models on a laptop | Chat with the model through llama.cpp on a Mac |
Anyone who needs the best answer quality can skip it, since a 1.7B model at 1 bit trades quality for size.
| Use case | Who | What they get back |
|---|---|---|
| On-device chat | App developers | Text replies from a model of about 0.24 GB |
| Low-memory servers | Engineers | A language model that loads in a fraction of the FP16 memory |
| Speed tests | Tinkerers | The card reports up to 3.0x faster than FP16 on an RTX 4090 |
What you need first:
pip install -U huggingface_hub hf download prism-ml/Bonsai-1.7B-gguf
Run the file with the fork's llama.cpp tools. A short system prompt works, and the card suggests the sampling settings below.
You are a helpful assistant
| Parameter | Default | Suggested range |
|---|---|---|
| Temperature | 0.5 | 0.5 to 0.7 |
| Top-k | 20 | 20 to 40 |
| Top-p | 0.9 | 0.85 to 0.95 |
| Repetition penalty | 1.0 | none given |
You start the model in the fork's llama.cpp with the system prompt above and ask a short question. It returns a plain text answer, generated from a file under 0.3 GB.
Most language models store each number in 16 bits. This one stores each in 1 bit, which is why the file is so small. A good first step is to download the file and chat with it in the fork of llama.cpp.
In Q1_0, each weight keeps only its sign, with 0 for negative and 1 for positive. One FP16 scale is shared by every 128 weights. That works out to 1.125 effective bits per weight. The design is Qwen3-1.7B with 28 layers, grouped-query attention and a context of 32,768 tokens. The trade-off is that you need runtime kernels for this format.
The card lists the size of the weights alone in three formats.
Generates text with a 1.7B language model packed to 1 bit per weight, about 0.24 GB, for llama.cpp on CUDA, Metal and CPU. For developers who need a tiny local model.
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-1.7B is a small text generation model where every weight, including embeddings and the output head, is stored in a single bit. It uses the Qwen3-1.7B design, packed in the GGUF Q1_0 format. The weights take about 0.24 GB, against 3.44 GB at FP16, and it runs in llama.cpp on CUDA, Metal and CPU.
Who it suits: Developers who need a language model on a small device or with little memory, and who are happy to use the maker's fork of llama.cpp.
Industry | Who uses it | How they use it | Example
Mobile apps | App developers | Run a small model on a phone or tablet | The card lists Swift for iPhone and iPad, and Android
Edge computing | Embedded engineers | Fit a language model into tight memory | Load a 0.24 GB model on a small machine
Hobby projects | Local AI tinkerers | Try 1-bit models on a laptop | Chat with the model through llama.cpp on a Mac
Anyone who needs the best answer quality can skip it, since a 1.7B model at 1 bit trades quality for size.
Where to use it:
Use case | Who | What they get back
On-device chat | App developers | Text replies from a model of about 0.24 GB
Low-memory servers | Engineers | A language model that loads in a fraction of the FP16 memory
Speed tests | Tinkerers | The card reports up to 3.0x faster than FP16 on an RTX 4090
How to set it up: What you need first:
pip install -U huggingface_hub
hf download prism-ml/Bonsai-1.7B-gguf
How to use it: Run the file with the fork's llama.cpp tools. A short system prompt works, and the card suggests the sampling settings below.
You are a helpful assistant
Title: Suggested generation settings
Parameter | Default | Suggested range
Temperature | 0.5 | 0.5 to 0.7
Top-k | 20 | 20 to 40
Top-p | 0.9 | 0.85 to 0.95
Repetition penalty | 1.0 | none given
Example: You start the model in the fork's llama.cpp with the system prompt above and ask a short question. It returns a plain text answer, generated from a file under 0.3 GB.
For newcomers and experts: Most language models store each number in 16 bits. This one stores each in 1 bit, which is why the file is so small. A good first step is to download the file and chat with it in the fork of llama.cpp.
In Q1_0, each weight keeps only its sign, with 0 for negative and 1 for positive. One FP16 scale is shared by every 128 weights. That works out to 1.125 effective bits per weight. The design is Qwen3-1.7B with 28 layers, grouped-query attention and a context of 32,768 tokens. The trade-off is that you need runtime kernels for this format.
Download the Q1_0 GGUF file
Build the PrismML llama.cpp fork
Load the file on CUDA, Metal or CPU
Generate text with the suggested settings
Good to know: The card lists the size of the weights alone in three formats.
Title: Weight memory by format
FP16: 3.44 GB
MLX 1-bit g128: 0.27 GB
GGUF Q1_0: 0.24 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download prism-ml/Bonsai-1.7B-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-1.7B-GGUF This page | 173,963 | 100 | 1.7B | apache-2.0 | |
| Bonsai-27B-ggufShares 1-bit · cuda · bonsai | 179,818 | 945 | 26.9B | 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 |
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
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.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…