[whatmodel.sh](../../README.md) / Qwen2.5 Coder 3B Instruct # Qwen2.5 Coder 3B Instruct Alibaba · released 2024-11 · 3.09B params · qwen-research **score 48.6** ±1.2 · #399 of 732 · from 9 benchmark results across 2 sources Score within the [LMArena (text)](https://whatmodel.sh/?set=lmarena-text&score=set) comparison set only. ## What it's good at ● marks Qwen2.5 Coder 3B Instruct among every model on that task or test, worst to best.
task    vs the others         rank  counts  tests
coding  ▁▁▁▃▅●█▇▅▄▃▁   #313 of 469     95%      8
coding · #313 of 469 · 95% of its score Beats [Solar Open 100B (102B-A12B)](solar-open-100b.md), [Qwen3-VL 30B-A3B Instruct](qwen3-vl-30b-a3b-instruct.md), [Qwen3 4B Instruct 2507](qwen3-4b-instruct-2507.md) here, though they rank higher overall. Trails [DeepSeek LLM 67B Chat](deepseek-llm-67b-chat.md), [WizardLM 70B V1.0](wizardlm-70b-v1-0.md), [Yi 1.5 9B Chat](yi-1-5-9b-chat.md) here, though they rank lower overall.
test                                result  vs the others in its run  difficulty        counts  why
Aider code editing (133 Exercism …   39.1%  ▁·▁▂●▁▆▄█▆▂▂ beats 11/62  medium · avg 51%     27%  sharp · at its level
HumanEval (maker)                    84.1%  ▄·▄···●··█·▄ beats 3/6    easy · avg 84%       20%  sharp
HumanEval+ (maker)                   80.5%  ▄·▄····▄●·▄█ beats 3/6    easy · avg 80%       17%  sharp
MBPP (maker)                         73.6%  █···█●█·██·█ beats 2/6    easy · avg 77%       10%  typical
MultiPL-E (maker)                    72.1%  ▄·▄····▄●·▄█ beats 3/6    easy · avg 70%      8.2%  at its level
MBPP+ (maker)                        62.4%  ▄····▄●·▄·█▄ beats 2/6    easy · avg 66%      7.3%  at its level
CRUXEval-I (maker)                   53.2%  █·██·●··█·██ beats 3/6    medium · avg 56%    3.5%  at its level
CRUXEval-O (maker)                   56.0%  ▄·█··●·▄··▄▄ beats 3/6    medium · avg 54%    1.3%  blunt · at its level
other tests (1)
test                             result  vs the others in its run  difficulty        counts  why
BigCodeBench (Instruct) (maker)   35.8%  ▄······▄●█·█ beats 2/6    medium · avg 37%    4.5%  at its level
## How the score was worked out Each result implies a score on its own, after adjusting for how hard that test is and who ran it. The model's 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 is added up by who ran the tests. [Method](../method.md)
source                             results  share of the score
Qwen (submitted / maker-reported)        8   72% ▇▇▇▇▇▇▇▇▇
Aider code editing benchmark runs        1   27% ▇▇▇
prior: pull toward the middle                 1% ▇
weighted average                            = 48.6
Licences: Aider code editing benchmark runs ([Apache-2.0](../../licenses/aider-polyglot-runs-Apache-2.0.txt)) ## How to run it ### llama.cpp (recommended) 1. Install llama.cpp. Homebrew and winget installs name the commands llama-cli and llama-server instead. [Other ways to install](https://github.com/ggml-org/llama.cpp/blob/master/docs/install.md) ```sh # macOS / Linux curl -LsSf https://llama.app/install.sh | sh # Windows irm https://llama.app/install.ps1 | iex ``` 2. Run Qwen2.5 Coder 3B Instruct (Q4_K_M, needs ~2.1 GB, from [huggingface.co/Qwen](https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct-GGUF/tree/f74adce6aa16316c625447af059dbebe4983757c)) ```sh llama cli -hf Qwen/Qwen2.5-Coder-3B-Instruct-GGUF:Q4_K_M ``` 3. Or start a local server and open the address it prints (http://localhost:9931) ```sh llama serve -hf Qwen/Qwen2.5-Coder-3B-Instruct-GGUF:Q4_K_M ``` ### LM Studio 1. Install LM Studio. Open the app once before using the lms command. [Download it (macOS / Windows / Linux)](https://lmstudio.ai/download) 2. Run Qwen2.5 Coder 3B Instruct (Q4_K_M, needs ~2.1 GB, from [huggingface.co/Qwen](https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct-GGUF/tree/f74adce6aa16316c625447af059dbebe4983757c)) ```sh lms get https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct-GGUF@Q4_K_M -y ``` 3. Then run lms ls to see its name, and lms chat followed by that name Other versions: 4bit (~1.7 GB, Mac only) `lms get https://huggingface.co/lmstudio-community/Qwen2.5-Coder-3B-Instruct-MLX-4bit -y` · 8bit (~3.3 GB, Mac only) `lms get https://huggingface.co/lmstudio-community/Qwen2.5-Coder-3B-Instruct-MLX-8bit -y` ### Ollama 1. Install Ollama. [Download it (macOS / Windows)](https://ollama.com/download) ```sh # Linux curl -fsSL https://ollama.com/install.sh | sh ``` 2. Run Qwen2.5 Coder 3B Instruct (Q4_K_M, needs ~1.9 GB, from [ollama.com](https://ollama.com/library/qwen2.5-coder/tags)) ```sh ollama run qwen2.5-coder:3b ``` ### MLX (Mac) 1. Install MLX (Mac). Apple silicon Macs only, text only. ```sh # with uv uv tool install mlx-lm # or pip install mlx-lm ``` 2. Run Qwen2.5 Coder 3B Instruct (4bit, needs ~1.7 GB, Mac only, from [huggingface.co/lmstudio-community](https://huggingface.co/lmstudio-community/Qwen2.5-Coder-3B-Instruct-MLX-4bit/tree/1466650d4af1e954eee2cc26174c7c2f4fbf4b9b)) ```sh mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-3B-Instruct-MLX-4bit ``` 3. Or start an OpenAI-compatible server at http://localhost:8080/v1 ```sh mlx_lm.server --model lmstudio-community/Qwen2.5-Coder-3B-Instruct-MLX-4bit ``` Other versions: 8bit (~3.3 GB, Mac only) `mlx_lm.chat --model lmstudio-community/Qwen2.5-Coder-3B-Instruct-MLX-8bit` Model repository and documentation: [huggingface.co/Qwen](https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct) ## Published speed measurements Reference results for the hardware, engine and settings below. These are not verified speeds of the downloads above or predictions for your machine.
hardware                      precision       speed  engine and settings
Intel Raptor Lake-P [Iris X…  q4_k_m     9.52 tok/s  ollama (version not recorded) · l…
Each speed links to its source, which has the full settings. [interactive version](https://whatmodel.sh/model/qwen2-5-coder-3b) · [JSON](https://whatmodel.sh/api?format=json&all=1)