whatmodel.sh / Qwen2.5 Coder 7B Instruct
Qwen2.5 Coder 7B Instruct
↗ share
+ contribute
Qwen2.5 Coder 7B Instruct is an open-weights language model from Alibaba, released September 2024. Its published size is 7.62B parameters and a 131k-token context window. Licence: apache-2.0.
$ how it compares
The LLMs ranked either side of Qwen2.5 Coder 7B Instruct, out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 384 | 52±2 | api $0.75/M +local | |||
| 385 | 52±1 | api $0.075/M +local | |||
| 386 | 52±1 | local | |||
| 387 | 52±1 | local | |||
| 388 | 51±5 | 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▁▁▁▃▆██▇▆▄▃▁ #246 of 458 · 94% of its score · 13 tests
Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B), GLM-4.7-Flash here, though they rank higher overall. Trails QwQ-32B-Preview, InternLM2.5 20B Chat, Mistral Small Instruct 22B (2409) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveCodeBench official (Jan 1–Nov 1, 2024) | 26.2% ✎ | ▁▁·▁▂▄▆█▅▂·▂ beats 13/31 | 23% |
| Aider code editing (133 Exercism Python exercises, two attempts) | 57.9% ✎ | ▁·▁▂▄▁▆▄█▆▂▂ beats 26/62 | 19% |
| HumanEval lab | 88.4% ✎ | ▄·▄···█··█·▄ beats 4/6 | 12% |
| HumanEval+ lab | 84.1% ✎ | ▄·▄····▄▄·▄█ beats 4/6 | 10% |
| MBPP lab | 83.5% ✎ | █···███·██·█ beats 4/6 | 6.6% |
| MultiPL-E lab | 76.5% ✎ | ▄·▄····▄▄·▄█ beats 4/6 | 5.8% |
| MBPP+ lab | 71.7% ✎ | ▄····▄▄·▄·█▄ beats 4/6 | 5.2% |
| CodeReviewQA: change localisation (hard), invariant accuracy | 10.7% ✎ | █▂▁▁▂▂▃▃▅▅▅▇ beats 17/47 | 3.4% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CRUXEval-I lab | 65.8% ✎ | █·██·█··█·██ beats 4/6 | 2.8% |
| CodeReviewQA: solution identification (hard), invariant accuracy | 55.2% ✎ | ▃··▁▂▂▃▂█▃▄▂ beats 30/47 | 2.7% |
| CodeReviewQA: automated code refinement, exact match rate | 41.0% ✎ | ▁▁▁▁▁▁▂▂▃█▅▄ beats 40/47 | 2.2% |
| CRUXEval-O lab | 65.9% ✎ | ▄·█··▄·▄··▄▄ beats 4/6 | 1.0% |
| CodeReviewQA: change type recognition, invariant accuracy | 78.6% ✎ | ▁▁▁······▁▃█ beats 43/47 | 0.0% |
other tests2 not in a task · 5.7% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Instruct) lab | 41.0% ✎ | ▄······▄▄█·█ beats 4/6 | 3.6% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 71.7% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 187/276 | 2.1% |
$ where to run it
llama.cpp · recommended
version
- 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 7B Instruct · needs ~4.7 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/Qwen2.5-Coder-7B-Instruct-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/Qwen2.5-Coder-7B-Instruct-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen2.5 Coder 7B Instruct · needs ~4.7 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/Qwen2.5-Coder-7B-Instruct-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Qwen2.5 Coder 7B Instruct · needs ~5.07 GB · from ollama.comchat in the terminal
ollama run qwen2.5-coder:7b
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 7B Instruct · needs ~4.3 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-7B-Instruct-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/Qwen2.5-Coder-7B-Instruct-MLX-4bit
Official weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Qwen (Alibaba) vendor-reporte… 47%, LiveCodeBench official websit… 23%, Aider code editing benchmark… 19% and 2 more
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 | 47% | |
| 1 | 23% | |
| 1 | 19% | |
| 4 | 8% | |
| 1 | 2% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 51.6 |
$ quantization evidence · 6 measurements
How much of the full-precision result a quantized version kept, measured within one study. Rows from the same study share a table and aren't independent.
| precision | test | full → quantized | kept | |
|---|---|---|---|---|
| AQLM 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.41 | 100.0% | source ↗ |
| AWQ 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.41 | 100.0% | source ↗ |
| bitsandbytes NF4 (double quantization) | BigCodeBench (Python) pass@1 | 0.41 → 0.39 | 95.1% | source ↗ |
| GGUF Q4_K_M | BigCodeBench (Python) pass@1 | 0.41 → 0.4 | 97.6% | source ↗ |
| GPTQ 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.41 | 100.0% | source ↗ |
| QuIP# 4-bit | BigCodeBench (Python) pass@1 | 0.41 → 0.32 | 78.0% | source ↗ |
$ 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