whatmodel.sh / Qwen-7B-Chat
Qwen-7B-Chat
↗ share
+ contribute
Qwen-7B-Chat 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-Chat @93a65d3: 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).
$ how it compares
The LLMs ranked either side of Qwen-7B-Chat, out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 730 | 31±2 | local | |||
| 731 | 31±1 | local | |||
| 732 | 31±1 | local | |||
| 733 | 31±1 | local | |||
| 734 | 31±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 tests11 not in a task · 100% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ARC Challenge | 46.7% ✎ | ▁·▁··▁▁▇▂█▆▃ beats 22/26 | 49% |
| WinoGrande | 68.6% ✎ | ▁····▁··▁▂█▄ beats 20/26 | 12% |
| BoolQ | 71.7% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 16/26 | 9.2% |
| ARC Easy | 64.5% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 12/26 | 6.4% |
| HellaSwag | 85.0% ✎ | ▃···▁▇▅█▇▃▃▁ beats 25/26 | 5.1% |
| SciQ | 90.7% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 9/26 | 4.6% |
| PIQA | 78.7% ✎ | ▁·▁··▁▁▃█▅█▂ beats 20/26 | 4.1% |
| OpenBookQA | 35.6% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 25/26 | 3.9% |
3 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Social IQA | 47.0% ✎ | ▁···▁▃█▁▁▃·▁ beats 24/26 | 2.5% |
| LAMBADA (OpenAI version), last-word accuracy | 65.5% ✎ | ▁··▂▁▁▁▃▆█▅▃ beats 7/26 | 2.4% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 59.9% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 89/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-Chat · needs ~4.9 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/Qwen-7B-Chat-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/Qwen-7B-Chat-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen-7B-Chat · needs ~4.9 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/Qwen-7B-Chat-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-Chat · needs ~4.9 GB · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/Qwen-7B-Chat-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-Chat', 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 | = 30.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