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).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Qwen-7B-Chat, out of 897 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 783 | 32±1 | api $0.020/M +local | |||
| 784 | 32±1 | comparison only | |||
| 785 | 32±1 | local | |||
| 786 | 32±1 | local | |||
| 787 | 32±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
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 | 51% |
| WinoGrande | 68.6% ✎ | ▁····▁··▁▂█▄ beats 20/26 | 11% |
| BoolQ | 71.7% ✎ | ▂▃▂▅▆▂▅▆█▂▂▂ beats 16/26 | 8.0% |
| HellaSwag | 85.0% ✎ | ▃···▁▇▅█▇▃▃▁ beats 25/26 | 5.4% |
| ARC Easy | 64.5% ✎ | ▁▁·▁▁▄▅▄█▅▁▃ beats 12/26 | 5.3% |
| OpenBookQA | 35.6% ✎ | █·▁▁▃·▁▃▅▇▃▄ beats 25/26 | 4.2% |
| SciQ | 90.7% ✎ | ▁·▁·▁·▃▅▃█▄▁ beats 9/26 | 4.0% |
| PIQA | 78.7% ✎ | ▁·▁··▁▁▃█▅█▂ beats 20/26 | 3.9% |
3 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Social IQA | 47.0% ✎ | ▁···▁▃█▁▁▃·▁ beats 24/26 | 2.4% |
| LAMBADA (OpenAI version), last-word accuracy | 65.5% ✎ | ▁··▂▁▁▁▃▆█▅▃ beats 7/26 | 2.3% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 59.9% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 89/276 | 1.8% |
$ 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
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 6.6 GB memory, 4.9 GB download · 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 6.6 GB memory, 4.9 GB download · 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 6.6 GB memory, 4.9 GB download · 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 17.7 GB memory, 15.4 GB download · 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'])"
Model repository and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · Stability AI — original Stabl… 98%, Open Portuguese LLM Leaderboa… 2%
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 | 2% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 32.0 |
$ 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