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…
Writes, explains and fixes code as the largest instruction-tuned model in the Qwen2.5-Coder family, at 32B parameters. For developers who run a strong open coding model on their own hardware.
Qwen2.5-Coder-32B-Instruct 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-32B-Instruct
Qwen2.5-Coder-32B-Instruct is the 32B instruction-tuned model of the Qwen2.5-Coder series, which was formerly called CodeQwen. It targets code generation, code reasoning and code fixing. The card says its training grew to 5.5 trillion tokens, including source code and text-code pairs.
Developers and teams who want a large open coding model they host themselves, for completion, review and agent-style work.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Generate and fix code with a local model | Ask for a quick sort routine |
| Dev tooling | Tool builders | Power a code agent with an open model | Wire it into an agent that edits files |
| Education | Learners | Get explanations of code and algorithms | Ask why a function fails |
If you have no GPU with plenty of memory, the card's smaller Coder sizes may suit you better.
| Use case | Who | What they get back |
|---|---|---|
| Code generation | Developers | Working code from a plain request |
| Code fixing | Developers | A corrected version of broken code |
| Code agents | Tool builders | A model that can drive agent workflows |
pip install -U huggingface_hub hf download Qwen/Qwen2.5-Coder-32B-Instruct
Format a system and a user message with the chat template, then generate. This is the card's snippet, which asks for a quick sort algorithm.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Qwen/Qwen2.5-Coder-32B-Instruct"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "write a quick sort algorithm."
messages = [
{"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]For inputs longer than 32,768 tokens, the card says to add a YaRN setting to config.json, for frameworks that support it.
{
...,
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}You run the snippet as it is, which asks the model to write a quick sort algorithm. The variable response holds the model's code answer, up to 512 new tokens.
If you are new, run the snippet above and change the prompt to a small coding task of your own. Check your GPU memory first, as the weights are large.
For experts, the model has 64 layers with 40 query heads and 8 key-value heads. The default config handles 32,768 tokens, and YaRN stretches it toward the full 131,072. The card notes vLLM applies static YaRN, which may hurt performance on shorter texts.
The card says the YaRN setting should only be added when you need long inputs.
Writes, explains and fixes code as the largest instruction-tuned model in the Qwen2.5-Coder family, at 32B parameters. For developers who run a strong open coding model on their own hardware.
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-32B-Instruct is the 32B instruction-tuned model of the Qwen2.5-Coder series, which was formerly called CodeQwen. It targets code generation, code reasoning and code fixing. The card says its training grew to 5.5 trillion tokens, including source code and text-code pairs.
Who it suits: Developers and teams who want a large open coding model they host themselves, for completion, review and agent-style work.
Industry | Who uses it | How they use it | Example
Software | Developers | Generate and fix code with a local model | Ask for a quick sort routine
Dev tooling | Tool builders | Power a code agent with an open model | Wire it into an agent that edits files
Education | Learners | Get explanations of code and algorithms | Ask why a function fails
If you have no GPU with plenty of memory, the card's smaller Coder sizes may suit you better.
Where to use it:
Use case | Who | What they get back
Code generation | Developers | Working code from a plain request
Code fixing | Developers | A corrected version of broken code
Code agents | Tool builders | A model that can drive agent workflows
How to set it up:
pip install -U huggingface_hub
hf download Qwen/Qwen2.5-Coder-32B-Instruct
How to use it: Format a system and a user message with the chat template, then generate. This is the card's snippet, which asks for a quick sort algorithm.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Qwen/Qwen2.5-Coder-32B-Instruct"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "write a quick sort algorithm."
messages = [
{"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
For inputs longer than 32,768 tokens, the card says to add a YaRN setting to config.json, for frameworks that support it.
{
...,
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}
Example: You run the snippet as it is, which asks the model to write a quick sort algorithm. The variable response holds the model's code answer, up to 512 new tokens.
For newcomers and experts: If you are new, run the snippet above and change the prompt to a small coding task of your own. Check your GPU memory first, as the weights are large.
For experts, the model has 64 layers with 40 query heads and 8 key-value heads. The default config handles 32,768 tokens, and YaRN stretches it toward the full 131,072. The card notes vLLM applies static YaRN, which may hurt performance on shorter texts.
You send a coding request
The chat template formats the messages
The model generates code and explanation
You decode the reply and review it
Good to know: The card says the YaRN setting should only be added when you need long inputs.
Title: Qwen2.5-Coder-32B-Instruct figures from the card
Layers: 64 layers
Parameters: 32.5 billion
Non-embedding parameters: 31.0 billion
Full context: 131072 tokens
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen2.5-Coder-32B-Instruct
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 |
|---|---|---|---|---|---|
| Qwen2.5-Coder-32B-Instruct This page | 546,583 | 2,211 | 32.8B | 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-0.5B-InstructShares codeqwen · qwen-coder · qwen2 | 71,013 | 96 | 494M | apache-2.0 | |
| Qwen2.5-Coder-7BShares codeqwen · qwen-coder · qwen2 | 334,246 | 200 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-7B-Instruct-GGUFShares codeqwen · qwen-coder · chat | 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.
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.