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…
Completes and generates code as a 7.6B base language model that developers can run, fine-tune or use for fill in the middle tasks. Built for people making coding tools.
Qwen2.5-Coder-7B 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/Qwen2.5-Coder-7B
Qwen2.5-Coder-7B is a base language model for code and one of six sizes in the Qwen2.5-Coder series. It has 7.6 billion parameters, builds on Qwen2.5-7B, and aims at code generation, code reasoning and code fixing. Its full context length is 131,072 tokens.
It suits developers who build coding tools and teams that want a code model they can tune with SFT or RLHF, or train further. Nothing in the source claims it works as a ready chat assistant.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software development | Tool builders | Fill in the middle of a code file | Completing a function between its first and last lines |
| AI research | ML engineers | Apply SFT, RLHF or continued pretraining to make a tuned version | Training a code assistant from this base |
| Developer tooling | Platform teams | Serve the model with vLLM | A shared code completion service for a team |
You can skip it when you want a model that answers questions in a chat, because the card advises against using this base model for conversation.
| Use case | Who | What they get back |
|---|---|---|
| Code completion | Developers | Code that carries on from the text you give it |
| Fill in the middle | Tool builders | The missing code between a start and an end |
| Fine-tuning base | ML engineers | A starting point for a tuned code model |
pip install -U huggingface_hub hf download Qwen/Qwen2.5-Coder-7B
With an older transformers than 4.37.0, loading stops with this error.
KeyError: 'qwen2'
The config.json entry that turns on YaRN for long inputs looks like this.
{
...,
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}Day to day you load the model with transformers and give it text to continue, such as the start of a function. The card gives no chat prompt. It points to post-training, continued pretraining or fill in the middle tasks instead.
| Tool | What it does |
|---|---|
| hf download | Fetches the model files to your computer |
| rope_scaling in config.json | Turns on YaRN for inputs beyond 32,768 tokens |
| vLLM | The card's recommended way to deploy the model |
You give the model the opening of a function, a signature plus a comment on what it should do. It carries on writing the body as plain text completion. A chat style question is a poor fit, since this is a base model.
If you are new, start by downloading the files with the two commands above and reading the card. Then load the model in Python with transformers and give it the first lines of some code.
If you know the field, this is a causal language model at the pretraining stage, with 28 layers and RoPE, SwiGLU, RMSNorm and attention QKV bias. It uses 28 query heads and 4 key-value heads. YaRN in vLLM is static, so the scale stays fixed and may weaken results on short texts.
Completes and generates code as a 7.6B base language model that developers can run, fine-tune or use for fill in the middle tasks. Built for people making coding tools.
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: Qwen2.5-Coder-7B is a base language model for code and one of six sizes in the Qwen2.5-Coder series. It has 7.6 billion parameters, builds on Qwen2.5-7B, and aims at code generation, code reasoning and code fixing. Its full context length is 131,072 tokens.
Who it suits: It suits developers who build coding tools and teams that want a code model they can tune with SFT or RLHF, or train further. Nothing in the source claims it works as a ready chat assistant.
Industry | Who uses it | How they use it | Example
Software development | Tool builders | Fill in the middle of a code file | Completing a function between its first and last lines
AI research | ML engineers | Apply SFT, RLHF or continued pretraining to make a tuned version | Training a code assistant from this base
Developer tooling | Platform teams | Serve the model with vLLM | A shared code completion service for a team
You can skip it when you want a model that answers questions in a chat, because the card advises against using this base model for conversation.
Where to use it:
Use case | Who | What they get back
Code completion | Developers | Code that carries on from the text you give it
Fill in the middle | Tool builders | The missing code between a start and an end
Fine-tuning base | ML engineers | A starting point for a tuned code model
How to set it up:
pip install -U huggingface_hub
hf download Qwen/Qwen2.5-Coder-7B
With an older transformers than 4.37.0, loading stops with this error.
KeyError: 'qwen2'
The config.json entry that turns on YaRN for long inputs looks like this.
{
...,
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}
How to use it: Day to day you load the model with transformers and give it text to continue, such as the start of a function. The card gives no chat prompt. It points to post-training, continued pretraining or fill in the middle tasks instead.
Tool | What it does
hf download | Fetches the model files to your computer
rope_scaling in config.json | Turns on YaRN for inputs beyond 32,768 tokens
vLLM | The card's recommended way to deploy the model
Example: You give the model the opening of a function, a signature plus a comment on what it should do. It carries on writing the body as plain text completion. A chat style question is a poor fit, since this is a base model.
For newcomers and experts: If you are new, start by downloading the files with the two commands above and reading the card. Then load the model in Python with transformers and give it the first lines of some code.
If you know the field, this is a causal language model at the pretraining stage, with 28 layers and RoPE, SwiGLU, RMSNorm and attention QKV bias. It uses 28 query heads and 4 key-value heads. YaRN in vLLM is static, so the scale stays fixed and may weaken results on short texts.
You give it the start of some code
The model reads it through 28 layers
It predicts the next tokens
The code continues as plain text
Good to know:
Title: Parameters across the series sizes
Smallest: 0.5 billion
Next: 1.5 billion
Third: 3 billion
This model: 7 billion
Fifth: 14 billion
Largest: 32 billion
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen2.5-Coder-7B
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 |
|---|---|---|---|---|---|
| Qwen2.5-Coder-7B This page | 334,246 | 200 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-14B-InstructShares codeqwen · qwen-coder · qwen2 | 1,860,327 | 214 | 14.8B | apache-2.0 | |
| Qwen2.5-Coder-7B-InstructShares codeqwen · qwen-coder · qwen2 | 1,505,999 | 872 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-32B-InstructShares codeqwen · qwen-coder · qwen2 | 546,583 | 2,211 | 32.8B | apache-2.0 | |
| Qwen2.5-Coder-0.5B-InstructShares codeqwen · qwen-coder · qwen2 | 71,013 | 96 | 494M | apache-2.0 | |
| Qwen2.5-Coder-7B-Instruct-GGUFShares codeqwen · qwen-coder · qwen | 375,860 | 653 | 7.6B | 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…