whatmodel.sh / CodeQwen1.5 7B (base)
CodeQwen1.5 7B (base)
↗ share
+ contribute
CodeQwen1.5 7B (base) is an open-weights language model from Alibaba, released April 2024. Its published size is 7.25B parameters and a 66k-token context window. Licence: other (tongyi-qianwen-research).
Catalogue identity notes
Maker repo Qwen/CodeQwen1.5-7B @5ce5a15: licence tag other (tongyi-qianwen-research). 7,250,284,544 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-04: month the maker's Hugging Face repo was created (createdAt 2024-04-15). Pretrained base checkpoint (not an instruct/chat version).
$ how it compares
The LLMs ranked either side of CodeQwen1.5 7B (base), out of 828 with a score, then more from Alibaba.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 612 | 41±1 | local | |||
| 613 | 41±2 | local | |||
| 614 | 41±1 | local | |||
| 615 | 41±1 | local | |||
| 616 | 41±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
coding▁▁▁▃▆██▇▆▄▃▁ #370 of 458 · 94% of its score · 3 tests
Beats LFM2.5 8B-A1B, DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B here, though they rank higher overall. Trails Qwen2.5 1.5B Instruct, WizardLM 13B V1.2, Granite 3.0 2B Instruct here, though they rank lower overall.
other tests1 not in a task · 5.9% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BigCodeBench (Complete) | 45.6% ✎ | ▂▁▁▄▂▅▇█▆▂▂▂ beats 43/58 | 5.9% |
$ 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 CodeQwen1.5 7B (base) · needs ~4.7 GB · from huggingface.co/bartowskichat in the terminal
llama cli -hf bartowski/CodeQwen1.5-7B-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf bartowski/CodeQwen1.5-7B-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run CodeQwen1.5 7B (base) · needs ~4.7 GB · from huggingface.co/bartowski
- Or download it in the terminal
lms get https://huggingface.co/bartowski/CodeQwen1.5-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 CodeQwen1.5 7B (base) · needs ~4.7 GB · from huggingface.co/bartowskichat in the terminal
ollama run hf.co/bartowski/CodeQwen1.5-7B-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs ~14.5 GB · from huggingface.co/Qwen
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='Qwen/CodeQwen1.5-7B', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"
Weights and documentation: huggingface.co/Qwen ↗
$ how the score was worked out · EvalPlus / EvalPerf published… 94%, BigCodeBench paper (Zhuo et a… 6%
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 |
|---|---|---|
| 3 | 94% | |
| 1 | 6% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 40.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