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 a tiny 494M-parameter chat model with a 32,768-token context. Suits developers who want the smallest open Qwen coding model for a laptop, a test rig or a quick local helper.
Qwen2.5-Coder-0.5B-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-0.5B-Instruct
Qwen2.5-Coder-0.5B-Instruct is the smallest chat model in the Qwen2.5-Coder family, a line of coding models from the Qwen team that replaced the older CodeQwen name. It is tuned to follow instructions and has about 0.49 billion parameters. The family comes in six sizes, from 0.5 to 32 billion parameters.
Developers who want a coding assistant small enough to run on modest hardware, under the Apache 2.0 license.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Run a small local helper for code snippets | Ask for a sorting function |
| Education | Students | Practise coding questions on a laptop | Ask why a loop never ends |
| Tooling | Tool builders | Test code agents on a model that loads fast | Check a pipeline before a bigger model |
| Research | ML researchers | Study small coding models and fine-tune them | Fine-tune on a private code set |
Skip it if you need the strongest coding answers, since larger members of the family exist for that.
It runs wherever Python and the transformers library run.
| Use case | Who | What they get back |
|---|---|---|
| Code writing | Developers | A function or script in the chat reply |
| Code fixing | Students | A corrected version of a broken snippet |
| Code explaining | Newcomers | A plain description of what a block of code does |
You need Python and a recent transformers release.
pip install -U huggingface_hub hf download Qwen/Qwen2.5-Coder-0.5B-Instruct
Load the tokenizer and the model by name, write the chat as a list of system and user messages, turn that list into a prompt, then call generate. The loading lines look like this.
from transformers import AutoModelForCausalLM, AutoTokenizer model_name = "Qwen/Qwen2.5-Coder-0.5B-Instruct"
| Tool | What it does |
|---|---|
| AutoModelForCausalLM | Loads the model weights |
| AutoTokenizer | Loads the tokenizer that turns text into tokens |
| apply_chat_template | Turns the message list into one prompt string |
| generate | Produces new tokens, with max_new_tokens capping the length |
| batch_decode | Turns the new tokens back into readable text |
You ask, "write a quick sort algorithm." The model replies with a short written answer holding code for the sort, which batch_decode turns from tokens back into plain text you can print.
If you are new to this, download the files first, then run the loading lines and one short coding question with a small max_new_tokens value. Check that a reply comes back before you try anything long.
If you know the field, the model is a causal language model with 24 layers, grouped-query attention with 14 query heads and 2 key-value heads. It uses rotary position embeddings, SwiGLU and RMSNorm, adds a bias to the QKV projections, and shares weights between input and output embeddings. About 0.36 billion parameters sit outside the embeddings.
The card names a context length of 32,768 tokens and gives no separate generation limit. The family was trained on 5.5 trillion tokens of code, text and synthetic data.
Writes, explains and fixes code as a tiny 494M-parameter chat model with a 32,768-token context. Suits developers who want the smallest open Qwen coding model for a laptop, a test rig or a quick local helper.
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-0.5B-Instruct is the smallest chat model in the Qwen2.5-Coder family, a line of coding models from the Qwen team that replaced the older CodeQwen name. It is tuned to follow instructions and has about 0.49 billion parameters. The family comes in six sizes, from 0.5 to 32 billion parameters.
Who it suits: Developers who want a coding assistant small enough to run on modest hardware, under the Apache 2.0 license.
Industry | Who uses it | How they use it | Example
Software | Developers | Run a small local helper for code snippets | Ask for a sorting function
Education | Students | Practise coding questions on a laptop | Ask why a loop never ends
Tooling | Tool builders | Test code agents on a model that loads fast | Check a pipeline before a bigger model
Research | ML researchers | Study small coding models and fine-tune them | Fine-tune on a private code set
Skip it if you need the strongest coding answers, since larger members of the family exist for that.
Where to use it: It runs wherever Python and the transformers library run.
Use case | Who | What they get back
Code writing | Developers | A function or script in the chat reply
Code fixing | Students | A corrected version of a broken snippet
Code explaining | Newcomers | A plain description of what a block of code does
How to set it up: You need Python and a recent transformers release.
pip install -U huggingface_hub
hf download Qwen/Qwen2.5-Coder-0.5B-Instruct
How to use it: Load the tokenizer and the model by name, write the chat as a list of system and user messages, turn that list into a prompt, then call generate. The loading lines look like this.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Qwen/Qwen2.5-Coder-0.5B-Instruct"
Tool | What it does
AutoModelForCausalLM | Loads the model weights
AutoTokenizer | Loads the tokenizer that turns text into tokens
apply_chat_template | Turns the message list into one prompt string
generate | Produces new tokens, with max_new_tokens capping the length
batch_decode | Turns the new tokens back into readable text
Example: You ask, "write a quick sort algorithm." The model replies with a short written answer holding code for the sort, which batch_decode turns from tokens back into plain text you can print.
For newcomers and experts: If you are new to this, download the files first, then run the loading lines and one short coding question with a small max_new_tokens value. Check that a reply comes back before you try anything long.
If you know the field, the model is a causal language model with 24 layers, grouped-query attention with 14 query heads and 2 key-value heads. It uses rotary position embeddings, SwiGLU and RMSNorm, adds a bias to the QKV projections, and shares weights between input and output embeddings. About 0.36 billion parameters sit outside the embeddings.
Download files with hf
Load tokenizer and model
Build system and user messages
Apply the chat template
Generate and decode the reply
Good to know: The card names a context length of 32,768 tokens and gives no separate generation limit. The family was trained on 5.5 trillion tokens of code, text and synthetic data.
Title: Weight size in MB
BF16: 988 MB
4-bit (estimate): 247 MB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Qwen/Qwen2.5-Coder-0.5B-Instruct
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-0.5B-Instruct This page | 71,013 | 96 | 494M | 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-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 |
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.