whatmodel.sh / StarCoderBase 15.5B
StarCoderBase 15.5B
↗ share
+ contribute
StarCoderBase 15.5B is an open-weights language model from BigCode, released May 2023. Its published size is 15.5B parameters. Licence: bigcode-openrail-m.
Catalogue identity notes
Comparison-only. Maker repo bigcode/starcoderbase @88ec578: licence tag bigcode-openrail-m. Parameters: nominal size from the model name (no safetensors metadata in the repo) (dense, so active = total). Released 2023-05: month the maker's Hugging Face repo was created (createdAt 2023-05-03). StarCoderBase 15.5B (May 2023), trained on 80+ languages; the Python-fine-tuned StarCoder is a separate id (starcoder).
$ how it compares
The LLMs ranked either side of StarCoderBase 15.5B, out of 828 with a score, then more from BigCode.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 713 | 33±1 | local | |||
| 714 | 33±1 | comparison only | |||
| 715 | 33±1 | local | |||
| 716 | 33±1 | local | |||
| 717 | 33±2 | local | |||
| more from BigCode | |||||
| 521 | 46±1 | local | |||
| 639 | 39±1 | local | |||
| 698 | 35±1 | local | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #419 of 458 · 94% of its score · 8 tests
Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails Llama 3.2 1B Instruct, SmolLM2 1.7B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval lab | 29.3% ✎ | ▂··█▂▄▂··▄▂▂ beats 3/12 | 24% |
| MBPP +1 | 37.4% ✎ | █·▅▃▃▃▅▃▃▅·▅ beats 6/15 | 19% |
| HumanEvalSynthesize (HumanEvalPack, 6-language average) | 31.9% ✎ | ▁·▂▁▂▆▅█▄▄▁▂ beats 10/35 | 13% |
| CRUXEval-I +1 | 31.3% ✎ | ▁··▁▅▂█▇▁··▁ beats 4/22 | 9.2% |
| CRUXEval-O +1 | 34.2% ✎ | ▁·▂▃▁█▁▂···▁ beats 5/22 | 8.1% |
| DS-1000 lab | 23.8% ✎ | ▄▄·▄██▄█·█·▄ beats 5/12 | 7.9% |
| HumanEvalExplain (HumanEvalPack, 6-language average) | 15.3% ✎ | ▄▇█▃▄▇▄▁▇▃·▁ beats 11/35 | 6.8% |
| HumanEvalFix (HumanEvalPack, 6-language average) | 12.9% ✎ | ▁·▁▁▄██▄█▁▅▅ beats 11/35 | 5.5% |
math▁▃▃▅▆▅▄█▄▁▁▁ #388 of 398 * · 5.4% of its score · 1 test
Beats Code Llama 7B (base), Llama 2 13B Chat here, though they rank higher overall. Trails Qwen2 0.5B Instruct, Granite 3.1 1B-A400M Instruct, Gemma 2B (base) here, though they rank lower overall.
$ 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 StarCoderBase 15.5B · needs ~10.1 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/starcoderbase-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/starcoderbase-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run StarCoderBase 15.5B · needs ~10.1 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/starcoderbase-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 StarCoderBase 15.5B · needs ~10.1 GB · from huggingface.co/mradermacherchat in the terminal
ollama run hf.co/mradermacher/starcoderbase-GGUF:Q4_K_M
Other ways to run it
- Run it as published · needs ~63.28 GB · from huggingface.co/bigcode (official)
uv run --with torch --with 'transformers<5' --with accelerate python -c "from transformers import pipeline; print(pipeline('text-generation', model='bigcode/starcoderbase', torch_dtype='auto', device_map='auto')('def print_hello_world():', max_new_tokens=40)[0]['generated_text'])"
Official weights and documentation: huggingface.co/bigcode ↗
$ how the score was worked out · StarCoder 2 and The Stack v2:… 48%, Granite Code Models: A Family… 45%, CRUXEval published evaluation… 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 |
|---|---|---|
| 4 | 48% | |
| 6 | 45% | |
| 2 | 6% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 33.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