whatmodel.sh / Qwen-7B (base)
Qwen-7B (base)
↗ share
+ contribute
Qwen-7B (base) is an open-weights language model from Alibaba, released August 2023. Its published size is 7.72B parameters and a 33k-token context window. Licence: other (tongyi-qianwen-license-agreement).
Catalogue identity notes
Maker repo Qwen/Qwen-7B @ef3c5c9: licence tag other (tongyi-qianwen-license-agreement). 7,721,324,544 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2023-08: month the maker's Hugging Face repo was created (createdAt 2023-08-03). Pretrained base checkpoint (not an instruct/chat version).
$ how it compares
The LLMs ranked either side of Qwen-7B (base), out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 725 | 32±2 | local | |||
| 726 | 32±1 | local | |||
| 727 | 32±1 | local | |||
| 728 | 32±1 | local | |||
| 729 | 31±4 | 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 tests11 not in a task · 100% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge | 49.1% ✎ | ▁·▁··▁▁▇▂█▆▃ beats 24/26 | 49% |
| WinoGrande | 66.0% ✎ | ▁····▁··▁▂█▄ beats 14/26 | 12% |
| BoolQ | 74.6% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 21/26 | 9.0% |
| ARC Easy | 65.2% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 13/26 | 6.2% |
| HellaSwag | 88.8% ✎ | ▃···▁▇▅█▇▃▁▃ beats 26/26 | 4.9% |
| SciQ | 93.2% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 15/26 | 4.3% |
| OpenBookQA | 32.2% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 21/26 | 4.0% |
| PIQA | 74.0% ✎ | ▁·▁··▁▁▃█▅█▂ beats 5/26 | 4.0% |
3 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Social IQA | 49.4% ✎ | ▁···▁▃█▁▁▃·▁ beats 25/26 | 2.5% |
| LAMBADA (OpenAI version), last-word accuracy | 69.7% ✎ | ▁··▂▁▁▁▂▆█▅▃ beats 13/26 | 2.3% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 58.1% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 85/276 | 1.2% |
$ 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 Qwen-7B (base) · needs ~4.9 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/Qwen-7B-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/Qwen-7B-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen-7B (base) · needs ~4.9 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/Qwen-7B-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 Qwen-7B (base) · needs ~4.9 GB · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/Qwen-7B-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs ~15.44 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/Qwen-7B', torch_dtype='auto', device_map='auto', trust_remote_code=True)('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Official weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Stability AI — original Stabl… 98%, Open Portuguese LLM Leaderboa… 1%
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 |
|---|---|---|
| 10 | 98% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 31.7 |
$ 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