whatmodel.sh / Qwen2.5 Coder 0.5B Instruct
Qwen2.5 Coder 0.5B Instruct
↗ share
+ contribute
Qwen2.5 Coder 0.5B Instruct is an open-weights language model from Alibaba, released November 2024. Its published size is 0.49B parameters and a 33k-token context window. Licence: apache-2.0.
Catalogue identity notes
Qwen/Qwen2.5-Coder-0.5B-Instruct @ea3f247 (created 2024-11-06, licence apache-2.0). Smallest Qwen2.5-Coder instruct model. Lab rows from the Qwen2.5-Coder report (rule b) in runs with the catalogued 1.5B/7B/14B/32B and CodeQwen1.5 siblings; independent Aider code-editing row.
Model information sources
Release date ↗ · Weights licence ↗
HF safetensors metadata 494,032,768 parameters (Qwen/Qwen2.5-Coder-0.5B-Instruct @ea3f247).
$ how it compares
The LLMs ranked either side of Qwen2.5 Coder 0.5B Instruct, out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 667 | 37±2 | local | |||
| 668 | 37±1 | local | |||
| 669 | 37±1 | local | |||
| 670 | 37±1 | local | |||
| 671 | 37±1 | local | |||
| more from Alibaba | |||||
| 18 | 78±1 | api $3.00/M +local | |||
| 34 | 76±1 | api $3.00/M | |||
| 37 | 75±1 | local | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #401 of 458 · 96% of its score · 8 tests
Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails Qwen2.5 1.5B Instruct, WizardLM 13B V1.2, Code Llama 7B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval lab | 61.6% ✎ | ▄·▄···█··█·▄ beats 0/6 | 28% |
| HumanEval+ lab | 57.3% ✎ | ▄·▄····▄▄·▄█ beats 0/6 | 21% |
| Aider code editing (133 Exercism Python exercises, two attempts) | 14.3% ✎ | ▃·▁▂▄▁▆▄█▆▂▂ beats 0/62 | 16% |
| MBPP lab | 52.4% ✎ | █···███·██·█ beats 0/6 | 12% |
| MultiPL-E lab | 49.6% ✎ | ▄·▄····▄▄·▄█ beats 0/6 | 8.4% |
| MBPP+ lab | 43.7% ✎ | ▄····▄▄·▄·█▄ beats 0/6 | 7.1% |
| CRUXEval-I lab | 33.9% ✎ | █·██·█··█·██ beats 0/6 | 3.3% |
| CRUXEval-O lab | 27.8% ✎ | ▄·█··▄·▄··▄▄ beats 0/6 | 1.2% |
other tests1 not in a task · 3.2% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Instruct) lab | 11.1% ✎ | ▄······▄▄█·█ beats 0/6 | 3.2% |
$ where to run it
llama.cpp · recommended
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Qwen2.5 Coder 0.5B Instruct · needs ~0.49 GB · from huggingface.co/Qwen (official)chat in the terminal
llama cli -hf Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen2.5 Coder 0.5B Instruct · needs ~0.49 GB · from huggingface.co/Qwen (official)
- Or download it in the terminal
lms get https://huggingface.co/Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Qwen2.5 Coder 0.5B Instruct · needs ~0.398 GB · from ollama.comchat in the terminal
ollama run qwen2.5-coder:0.5b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Qwen2.5 Coder 0.5B Instruct · needs ~0.3 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-0.5B-Instruct-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/Qwen2.5-Coder-0.5B-Instruct-MLX-4bit
Official weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Qwen (Alibaba) vendor-reporte… 83%, Aider code editing benchmark… 16%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 8 | 83% | |
| 1 | 16% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 37.1 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json