Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
A Qwen3.5-4B model with a small RISC-V computer built into its weights, used for exact arithmetic and for running a tiny story model. An experiment for researchers who study programs inside transformers.
Qwenputer-npu is a kit in the Research 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 divagr1925/Qwenputer-npu
Qwenputer-npu takes Qwen3.5-4B and builds a small 32-bit RISC-V processor into the model's own layers. This version adds a neural network instruction set to that CPU. That is quick enough to run another language model on it, a tiny 260K parameter story writer compiled as a C program. The Qwen weights themselves are unchanged.
Researchers and curious engineers who want to study how a program or a computer can live inside a transformer.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| AI research | Researchers on transformer internals | Run the chip layers and compare them with a reference model | Checking that the CPU layers match a reference for test programs |
| Systems and compilers | Engineers who like unusual computing targets | Study how code is compiled into model weights | Reading how a dot product instruction maps to layers |
| Education | Teachers of computer architecture | Show a CPU running inside a language model | Running the story program and watching the output |
Skip it if you want a general chat model, since this is a research experiment and not a tuned assistant.
It runs from the project's own Python tools, with uv, on a machine that can hold the weights. The files download on Windows, macOS or Linux.
| Use case | Who | What they get back |
|---|---|---|
| Exact arithmetic | Researchers | Answers from the built in CPU for calc tasks |
| Instruction checks | Engineers | A test run of the new instructions on the model's layers |
| Story generation | Curious users | A story written by the small model on the CPU |
Clone the project's npu branch from GitHub, move into its experimental riscv folder and run uv sync with the hf extra. Then download the checkpoint.
pip install -U huggingface_hub hf download divagr1925/Qwenputer-npu
From the project folder, these commands download the checkpoint locally, ask a calculation, check the new instructions and write a story on the CPU.
hf download divagr1925/Qwenputer-npu --local-dir qwenputer-npu
uv run python -m chipformer.rv.chat qwenputer-npu --firmware tests/data/rv/calc-bridge.elf \
--ask "Use calc: what is 123456789 * 987654321?"
uv run python -m chipformer.rv.npucheck qwenputer-npu guests/stories260k/stories260k.elf
uv run python guests/stories260k/storyrun.py guests/stories260k/stories260k.elf| Tool | What it does |
|---|---|
| chipformer.rv.chat | Chats with the model and lets it use the built in calc |
| chipformer.rv.npucheck | Runs the new instructions on the checkpoint's layers |
| storyrun.py | Writes the story on the CPU's executor |
You run the chat command with the question about multiplying 123456789 by 987654321. Qwen hands the sum to the CPU inside its weights, and the CPU returns the exact product for Qwen to report.
If you are new to this, think of a language model that carries a tiny computer inside itself and asks it to do exact maths. Start with the chat command and the multiplication question.
If you know the field, the CPU is 11 transformer layers placed in front of Qwen's own, with Gated DeltaNet state acting as RAM. Two new instructions, a packed int4 dot product and a byte product, plus a weight memory, make a story model run in far fewer trace tokens. The card reports about 41 seconds per story token on an L4.
The card says its checks against a reference model of the CPU found no mismatches, and that Qwen's text behaviour stays close to the base model. The scores below are its own, on two sets of 40 problems.
| Benchmark | Base Qwen3.5-4B | Qwenputer-npu |
|---|---|---|
| Synthetic integer arithmetic | 75.0 | 90.0 |
| DeepMind mul_big | 55.0 | 97.5 |
A Qwen3.5-4B model with a small RISC-V computer built into its weights, used for exact arithmetic and for running a tiny story model. An experiment for researchers who study programs inside transformers.
Made by divagr1925 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: Qwenputer-npu takes Qwen3.5-4B and builds a small 32-bit RISC-V processor into the model's own layers. This version adds a neural network instruction set to that CPU. That is quick enough to run another language model on it, a tiny 260K parameter story writer compiled as a C program. The Qwen weights themselves are unchanged.
Who it suits: Researchers and curious engineers who want to study how a program or a computer can live inside a transformer.
Industry | Who uses it | How they use it | Example
AI research | Researchers on transformer internals | Run the chip layers and compare them with a reference model | Checking that the CPU layers match a reference for test programs
Systems and compilers | Engineers who like unusual computing targets | Study how code is compiled into model weights | Reading how a dot product instruction maps to layers
Education | Teachers of computer architecture | Show a CPU running inside a language model | Running the story program and watching the output
Skip it if you want a general chat model, since this is a research experiment and not a tuned assistant.
Where to use it: It runs from the project's own Python tools, with uv, on a machine that can hold the weights. The files download on Windows, macOS or Linux.
Use case | Who | What they get back
Exact arithmetic | Researchers | Answers from the built in CPU for calc tasks
Instruction checks | Engineers | A test run of the new instructions on the model's layers
Story generation | Curious users | A story written by the small model on the CPU
How to set it up: Clone the project's npu branch from GitHub, move into its experimental riscv folder and run uv sync with the hf extra. Then download the checkpoint.
pip install -U huggingface_hub
hf download divagr1925/Qwenputer-npu
How to use it: From the project folder, these commands download the checkpoint locally, ask a calculation, check the new instructions and write a story on the CPU.
hf download divagr1925/Qwenputer-npu --local-dir qwenputer-npu
uv run python -m chipformer.rv.chat qwenputer-npu --firmware tests/data/rv/calc-bridge.elf \
--ask "Use calc: what is 123456789 * 987654321?"
uv run python -m chipformer.rv.npucheck qwenputer-npu guests/stories260k/stories260k.elf
uv run python guests/stories260k/storyrun.py guests/stories260k/stories260k.elf
Tool | What it does
chipformer.rv.chat | Chats with the model and lets it use the built in calc
chipformer.rv.npucheck | Runs the new instructions on the checkpoint's layers
storyrun.py | Writes the story on the CPU's executor
Example: You run the chat command with the question about multiplying 123456789 by 987654321. Qwen hands the sum to the CPU inside its weights, and the CPU returns the exact product for Qwen to report.
For newcomers and experts: If you are new to this, think of a language model that carries a tiny computer inside itself and asks it to do exact maths. Start with the chat command and the multiplication question.
If you know the field, the CPU is 11 transformer layers placed in front of Qwen's own, with Gated DeltaNet state acting as RAM. Two new instructions, a packed int4 dot product and a byte product, plus a weight memory, make a story model run in far fewer trace tokens. The card reports about 41 seconds per story token on an L4.
Qwen asks the built in CPU
Compiled layers run the program
CPU returns the exact result
Qwen writes the final reply
Good to know: The card says its checks against a reference model of the CPU found no mismatches, and that Qwen's text behaviour stays close to the base model. The scores below are its own, on two sets of 40 problems.
Title: Card benchmark scores
Benchmark | Base Qwen3.5-4B | Qwenputer-npu
Synthetic integer arithmetic | 75.0 | 90.0
DeepMind mul_big | 55.0 | 97.5
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download divagr1925/Qwenputer-npu
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 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 |
|---|---|---|---|---|---|
| Qwenputer-npu This page | 490 | 7 | 9.8B | apache-2.0 | |
| Qwen3.5-4B-QwenputerShares compiled-weights · qwenputer · risc-v | 2,598 | 189 | 9.4B | apache-2.0 | |
| Diffusion-Qwen3.8-27BShares qwen3_5_text · text-generation · conversational | 2,015 | 33 | 26.9B | apache-2.0 | |
| QuarkShares qwen3.5 · conversational · transformers | 107 | 7 | 9.7B | apache-2.0 | |
| Qwen3.8-27B-GSQ-RCO-IQ3_S-recovered-GGUFShares gated-deltanet · conversational | 2,605 | 17 | 26.9B | apache-2.0 | |
| Qwen3.5-9B Brainwaves DeepThought STEM OneJev1.6Shares qwen3.5 · transformers · safetensors | 57 | 5 | 9.4B | apache-2.0 |
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…