whatmodel.sh / Qwen1.5 4B Chat
Qwen1.5 4B Chat
↗ share
+ contribute
Qwen1.5 4B Chat is an open-weights language model from Alibaba, released February 2024. Its published size is 3.95B parameters and a 32k-token context window. Licence: tongyi-qianwen-research.
Catalogue identity notes
Arena entry 'qwen1.5-4b-chat' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'qwen1.5-4b-chat' as 'Qwen1.5-4B-Chat' (Alibaba, Qianwen LICENSE), linking https://qwenlm.github.io/blog/qwen1.5/. Maker repo Qwen/Qwen1.5-4B-Chat @a7a4d49: licence tag other (tongyi-qianwen-research). 3,950,369,280 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-02: Qwen blog qwenlm.github.io/blog/qwen1.5/ (datePublished 2024-02-04).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Qwen1.5 4B Chat, out of 897 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 763 | 34±3 | local | |||
| 764 | 34±1 | local | |||
| 765 | 34±2 | local | |||
| 766 | 34±1 | local | |||
| 767 | 34±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
chat & writing▁▁▃▃▅▄▆█▇▇▇▃ #392 of 405 * · 44% of its score · 2 tests
Beats Phi-2 (2.7B) here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1091.3 ✎ | ▁▁▃▂▃▂▃▆▆▇█▃ beats 14/388 | 23% |
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1026.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 17/95 | 22% |
other tests3 not in a task · 55% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveBench 2024-07-26 | 11.3% ✎ | ▁▁▁▃▂▃▂█▆▃▅▃ beats 5/61 | 46% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 61.3% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 93/276 | 4.5% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 72.8% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 44/146 | 3.9% |
$ 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 Qwen1.5 4B Chat · needs 4.1 GB memory, 2.46 GB download · from huggingface.co/Qwen (official)chat in the terminal
llama cli -hf Qwen/Qwen1.5-4B-Chat-GGUF:q4_k_m - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf Qwen/Qwen1.5-4B-Chat-GGUF:q4_k_m
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Qwen1.5 4B Chat · needs 4.1 GB memory, 2.46 GB download · from huggingface.co/Qwen (official)
- Or download it in the terminal
lms get https://huggingface.co/Qwen/Qwen1.5-4B-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 Qwen1.5 4B Chat · needs 4.1 GB memory, 2.46 GB download · from ollama.comchat in the terminal
ollama run qwen:4b-chat-v1.5-q4_K_M
MLX (Mac)
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Qwen1.5 4B Chat · needs 4.4 GB memory, 2.78 GB download, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/Qwen1.5-4B-Chat-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/Qwen1.5-4B-Chat-4bit
Model repository and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · LiveBench model judgments (HF… 46%, LMArena leaderboard dataset 23%, Polyrating: A Cost-Effective… 22% and 2 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 |
|---|---|---|
| 1 | 46% | |
| 1 | 23% | |
| 1 | 22% | |
| 1 | 5% | |
| 1 | 4% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 34.1 |
$ 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