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 4B chat model in GGUF format that runs locally in llama.cpp or ollama, with a thinking mode for reasoning and a plain mode for quick replies. Suits developers and hobbyists with a typical PC.
Qwen3-4B-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 Qwen/Qwen3-4B-GGUF
Qwen3-4B-GGUF is a 4 billion parameter chat model from Qwen, packed in GGUF format for local use in llama.cpp or ollama. It has a thinking mode for harder reasoning and a plain mode for fast replies, and you can flip between them from one message to the next.
Developers and hobbyists who want a mid-sized local model that fits on a typical laptop or desktop. It also suits people building small agents, translation helpers or writing assistants that should run without a hosted service.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Run a local model for chat and code help | Ask for a short function and read it |
| Developer tools | Agent builders | Call external tools from a local model | Prototype an agent on one machine |
| Localization | Multilingual teams | Translate and follow instructions in many languages | Draft translations for a human check |
| Writing | Writers and role-play fans | Use a model tuned for natural multi-turn chat | Keep a long conversation going offline |
Anyone who needs the best answers on hard problems can skip it, since larger Qwen3 models exist.
| Use case | Who | What they get back |
|---|---|---|
| Local chat assistant | Anyone with a PC | Replies generated on your own machine |
| Reasoning on request | Students and developers | A thinking section, then the final answer |
| Longer documents | Teams with large inputs | Context up to 131,072 tokens once YaRN is on |
| Translation | Multilingual users | Text in 100+ languages and dialects |
pip install -U huggingface_hub hf download Qwen/Qwen3-4B-GGUF
Start the model from the llama.cpp folder, or with one ollama command, and chat in the terminal. Write /think or /no_think in a message to set the thinking mode for that turn. The newest instruction wins in a multi-turn chat.
./llama-cli -hf Qwen/Qwen3-4B-GGUF:Q8_0 --jinja --color -ngl 99 -fa -sm row --temp 0.6 --top-k 20 --top-p 0.95 --min-p 0 --presence-penalty 1.5 -c 40960 -n 32768 --no-context-shift
ollama run hf.co/Qwen/Qwen3-4B-GGUF:Q8_0
| Tool | What it does |
|---|---|
| llama-cli | Runs the GGUF model in the terminal with the settings you pass |
| ollama run | Pulls the model and starts a chat with one command |
| /think | Turns thinking mode on for the current and later turns |
| /no_think | Turns thinking mode off for quick replies |
For inputs beyond 32,768 tokens in llama.cpp, add the YaRN options. They apply one fixed scaling factor to every input, which may weaken results on shorter texts, so use them only for long contexts.
./llama-cli ... -c 131072 --rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768
You type "Who are you /no_think" and the model answers at once that it is Qwen, a language model from Alibaba Cloud, with an empty thinking section. Then you ask "How many 'r's are in 'strawberries'? /think" and it reasons first before saying the word has 3.
If you are new, run the ollama command and ask the same question twice, once with /no_think and once with /think. The second reply shows its reasoning first, so it takes longer.
Experts get a causal language model with 36 layers, 32 query heads and 8 key-value heads (GQA), about 3.6B non-embedding parameters and a native 32,768 token context. The card suggests a presence penalty of 1.5 for quantized copies to cut repetition, and warns against greedy decoding in thinking mode.
A 4B chat model in GGUF format that runs locally in llama.cpp or ollama, with a thinking mode for reasoning and a plain mode for quick replies. Suits developers and hobbyists with a typical PC.
Made by Qwen 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: Qwen3-4B-GGUF is a 4 billion parameter chat model from Qwen, packed in GGUF format for local use in llama.cpp or ollama. It has a thinking mode for harder reasoning and a plain mode for fast replies, and you can flip between them from one message to the next.
Who it suits: Developers and hobbyists who want a mid-sized local model that fits on a typical laptop or desktop. It also suits people building small agents, translation helpers or writing assistants that should run without a hosted service.
Industry | Who uses it | How they use it | Example
Software | Developers | Run a local model for chat and code help | Ask for a short function and read it
Developer tools | Agent builders | Call external tools from a local model | Prototype an agent on one machine
Localization | Multilingual teams | Translate and follow instructions in many languages | Draft translations for a human check
Writing | Writers and role-play fans | Use a model tuned for natural multi-turn chat | Keep a long conversation going offline
Anyone who needs the best answers on hard problems can skip it, since larger Qwen3 models exist.
Where to use it:
Use case | Who | What they get back
Local chat assistant | Anyone with a PC | Replies generated on your own machine
Reasoning on request | Students and developers | A thinking section, then the final answer
Longer documents | Teams with large inputs | Context up to 131,072 tokens once YaRN is on
Translation | Multilingual users | Text in 100+ languages and dialects
How to set it up:
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-GGUF
How to use it: Start the model from the llama.cpp folder, or with one ollama command, and chat in the terminal. Write /think or /no_think in a message to set the thinking mode for that turn. The newest instruction wins in a multi-turn chat.
./llama-cli -hf Qwen/Qwen3-4B-GGUF:Q8_0 --jinja --color -ngl 99 -fa -sm row --temp 0.6 --top-k 20 --top-p 0.95 --min-p 0 --presence-penalty 1.5 -c 40960 -n 32768 --no-context-shift
ollama run hf.co/Qwen/Qwen3-4B-GGUF:Q8_0
Tool | What it does
llama-cli | Runs the GGUF model in the terminal with the settings you pass
ollama run | Pulls the model and starts a chat with one command
/think | Turns thinking mode on for the current and later turns
/no_think | Turns thinking mode off for quick replies
For inputs beyond 32,768 tokens in llama.cpp, add the YaRN options. They apply one fixed scaling factor to every input, which may weaken results on shorter texts, so use them only for long contexts.
./llama-cli ... -c 131072 --rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768
Example: You type "Who are you /no_think" and the model answers at once that it is Qwen, a language model from Alibaba Cloud, with an empty thinking section. Then you ask "How many 'r's are in 'strawberries'? /think" and it reasons first before saying the word has 3.
For newcomers and experts: If you are new, run the ollama command and ask the same question twice, once with /no_think and once with /think. The second reply shows its reasoning first, so it takes longer.
Experts get a causal language model with 36 layers, 32 query heads and 8 key-value heads (GQA), about 3.6B non-embedding parameters and a native 32,768 token context. The card suggests a presence penalty of 1.5 for quantized copies to cut repetition, and warns against greedy decoding in thinking mode.
You start llama-cli or ollama
The GGUF model loads locally
You chat, adding /think or /no_think
It replies, thinking first when asked
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-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 |
|---|---|---|---|---|---|
| Qwen3-4B-GGUF This page | 745,360 | 224 | 4B | apache-2.0 | |
| Ornith-1.5-9B-GGUFShares gguf · text-generation · conversational | 5,772,425 | 673 | 9.2B | mit | |
| Ornith-1.5-35B-A3B-GGUFShares gguf · text-generation · conversational | 4,164,876 | 603 | 35.5B | mit | |
| DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUFShares gguf · text-generation · conversational | 3,635,772 | 655 | 197B | mit | |
| Ornith-1.0-9B-GGUFShares gguf · text-generation · conversational | 2,357,551 | 702 | 9B | mit | |
| Qwen3.8-35B-A3B-Distill-GGUFShares gguf · text-generation · conversational | 1,337,097 | 277 | 35.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.
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…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
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…