whatmodel.sh / Qwen2.5-Math 7B Instruct
Qwen2.5-Math 7B Instruct
↗ share
+ contribute
Qwen2.5-Math 7B Instruct is an open-weights language model from Alibaba, released September 2024. Its published size is 7.62B parameters and a 4k-token context window. Licence: apache-2.0.
Catalogue identity notes
Qwen/Qwen2.5-Math-7B-Instruct @ef9926d (created 2024-09-19, licence apache-2.0). Math-specialised Qwen2.5 instruct model (CoT and tool-integrated reasoning). Lab rows from its own report Table 3 (rule b) with the catalogued Qwen2-Instruct columns. No ollama library tag.
Model information sources
Release date ↗ · Weights licence ↗
HF safetensors metadata 7,615,616,512 parameters (Qwen/Qwen2.5-Math-7B-Instruct @ef9926d).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Qwen2.5-Math 7B Instruct, out of 897 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 391 | 53±1 | api $0.087/M +local | |||
| 392 | 53±1 | api $0.17/M | |||
| 393 | 53±2 | local | |||
| 394 | 53±1 | local | |||
| 395 | 53±1 | local | |||
| more from Alibaba | |||||
| 27 | 76±1 | api $3.00/M +local | |||
| 46 | 74±1 | api $3.00/M | |||
| 53 | 73±1 | api $0.23/M | |||
$ what it's good at
math▁▁▃▅█▆▅█▄▁▁▁ #261 of 440 · 98% of its score · 3 tests
Beats GPT-4o (2024-08-06), Command A (03-2025), GPT-4o (2024-05-13) here, though they rank higher overall. Trails Gemma 7B (base), CodeGemma 7B (v1.0), Phi-2 (2.7B) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Minerva MATH lab | 37.1% ✎ | ▃·····▃··█▅▅ beats 6/8 | 48% |
| GSM8K lab | 95.2% ✎ | ▄···█▄▄·▄·▄█ beats 6/8 | 29% |
| MATH (subset unspecified) lab | 83.6% ✎ | ▃····▃·▅·▅·█ beats 6/8 | 22% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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-Math 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from huggingface.co/bartowskichat in the terminal
llama cli -hf bartowski/Qwen2.5-Math-7B-Instruct-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf bartowski/Qwen2.5-Math-7B-Instruct-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen2.5-Math 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from huggingface.co/bartowski
- Or download it in the terminal
lms get https://huggingface.co/bartowski/Qwen2.5-Math-7B-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-Math 7B Instruct · needs 5.8 GB memory, 4.68 GB download · from huggingface.co/bartowskichat in the terminal
ollama run hf.co/bartowski/Qwen2.5-Math-7B-Instruct-GGUF:Q4_K_M
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-Math 7B Instruct · needs 5.4 GB memory, 4.28 GB download, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/Qwen2.5-Math-7B-Instruct-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/Qwen2.5-Math-7B-Instruct-4bit
Model repository and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Qwen (Alibaba) vendor-reporte… 98%
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 |
|---|---|---|
| 3 | 98% | |
| prior · pull toward the middle | 2% | |
| weighted average | = 52.9 |
$ 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