whatmodel.sh / Qwen2 57B-A14B Instruct
Qwen2 57B-A14B Instruct
↗ share
+ contribute
Qwen2 57B-A14B Instruct is an open-weights language model from Alibaba, released June 2024. Its published size is 57.41B parameters (14B active per token) and a 33k-token context window. Licence: apache-2.0.
Catalogue identity notes
Maker repo Qwen/Qwen2-57B-A14B-Instruct @50896d6: licence tag apache-2.0. 57,408,658,944 parameters from the Hugging Face safetensors metadata; active 14B per token (Qwen2 card: '#Activated Params ... 14B' for 57B-A14B). Released 2024-06: month the maker's Hugging Face repo was created (createdAt 2024-06-04).
$ how it compares
The LLMs ranked either side of Qwen2 57B-A14B Instruct, out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 462 | 48±1 | local | |||
| 463 | 48±1 | local | |||
| 464 | 48±2 | local | |||
| 465 | 48±1 | local | |||
| 466 | 48±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
other tests5 not in a task · 99% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Instruct) lab | 35.7% ✎ | ▃▂·▆▆██▆▅▃▃▃ beats 17/33 | 33% |
| BigCodeBench (Complete) lab | 46.5% ✎ | ▂▁▁▄▂▅▇█▆▂▂▂ beats 44/58 | 33% |
| Polish EQ-Bench v2 (SpeakLeash) | 57.6% ✎ | ▁··▁▁▂▂▆▅▆█▆ beats 36/70 | 15% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 56.5% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 46/81 | 12% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 75.5% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 229/276 | 5.9% |
$ 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 57B-A14B Instruct · needs ~34.9 GB · from huggingface.co/Qwen (official)chat in the terminal
llama cli -hf Qwen/Qwen2-57B-A14B-Instruct-GGUF:q4_k_m - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf Qwen/Qwen2-57B-A14B-Instruct-GGUF:q4_k_m
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen2 57B-A14B Instruct · needs ~34.9 GB · from huggingface.co/Qwen (official)
- Or download it in the terminal
lms get https://huggingface.co/Qwen/Qwen2-57B-A14B-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 57B-A14B Instruct · needs ~34.9 GB · from huggingface.co/Qwen (official)chat in the terminal
ollama run hf.co/Qwen/Qwen2-57B-A14B-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 57B-A14B Instruct · needs ~32.3 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/Qwen2-57B-A14B-Instruct-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/Qwen2-57B-A14B-Instruct-4bit
Other ways to run it
- Run it as published · needs ~114.82 GB · from huggingface.co/Qwen (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='Qwen/Qwen2-57B-A14B-Instruct', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Official weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · BigCodeBench paper (Zhuo et a… 66%, SpeakLeash Polish EQ-Bench le… 15%, Open Persian LLM Leaderboard… 12% and 1 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 |
|---|---|---|
| 2 | 66% | |
| 1 | 15% | |
| 1 | 12% | |
| 1 | 6% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 47.6 |
$ 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