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).
$ how it compares
The LLMs ranked either side of Qwen1.5 4B Chat, out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 722 | 32±1 | local | |||
| 723 | 32±1 | local | |||
| 724 | 32±2 | local | |||
| 725 | 32±2 | local | |||
| 726 | 32±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
chat & writing▁▁▃▃▅▄▅█▆▆▇▃ #380 of 393 * · 46% 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 |
|---|---|---|---|
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1026.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 17/95 | 23% |
| LMArena (text) | 1091.1 ✎ | ▁▁▃▂▃▃▃▆▆▇█▃ beats 14/379 | 23% |
other tests3 not in a task · 53% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveBench 2024-07-26 | 11.3% ✎ | ▁▁▁▃▂▃▂█▆▃▅▃ beats 5/61 | 45% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 61.3% ✎ | ▃▁▁▁▁▁▁▁▃█▅▁ beats 93/276 | 3.9% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 72.8% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 44/146 | 3.5% |
$ 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 Qwen1.5 4B Chat · needs ~2.5 GB · 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 ~2.5 GB · 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 ~2.87 GB · 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 ~2.8 GB, 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
Official weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · LiveBench model judgments (HF… 45%, Polyrating: A Cost-Effective… 23%, LMArena leaderboard dataset 23% 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 | 45% | |
| 1 | 23% | |
| 1 | 23% | |
| 1 | 4% | |
| 1 | 4% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 31.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