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).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of StarCoderBase 15.5B, out of 897 with a score, then more from BigCode.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 753 | 35±1 | local | |||
| 754 | 35±1 | local | |||
| 755 | 35±1 | local | |||
| 756 | 35±1 | local | |||
| 757 | 35±4 | local | |||
| more from BigCode | |||||
| 543 | 47±1 | local | |||
| 677 | 40±1 | local | |||
| 738 | 37±1 | local | |||
$ what it's good at
coding▁▁▁▃▆▇█▆▆▃▃▁ #433 of 474 · 91% 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 +1 | 29.3% ✎ | ▂··█▂▄▂··▄▂▂ beats 3/12 | 26% |
| MBPP +1 | 37.4% ✎ | █·▅▃▃▃▅▃▃▅·▅ beats 6/15 | 18% |
| HumanEvalSynthesize (HumanEvalPack, 6-language average) | 31.9% ✎ | ▁·▂▁▂▆▅█▄▄▁▂ beats 10/35 | 12% |
| CRUXEval-I +1 | 31.3% ✎ | ▁··▁▅▂█▇▁··▁ beats 4/22 | 8.5% |
| CRUXEval-O +1 | 34.2% ✎ | ▁·▂▃▁█▁▂···▁ beats 5/22 | 7.5% |
| DS-1000 lab | 23.8% ✎ | ▄▄·▄██▄█·█·▄ beats 5/12 | 7.1% |
| HumanEvalExplain (HumanEvalPack, 6-language average) | 15.3% ✎ | ▄▇█▃▄▇▄▁▇▃·▁ beats 11/35 | 6.3% |
| HumanEvalFix (HumanEvalPack, 6-language average) | 12.9% ✎ | ▁·▁▁▄██▄█▁▅▅ beats 11/35 | 5.1% |
math▁▁▃▅█▆▅█▄▁▁▁ #379 of 440 * · 7.0% of its score · 1 test
Beats GPT-3.5 Turbo (0125), DBRX Instruct, Command R Plus (04-2024) here, though they rank higher overall. Trails OPT-1.3B, OPT-2.7B, Gemma 2B (base) here, though they rank lower overall.
other tests1 not in a task · 1.4% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ODEX English pass@1 (zero-shot) | 46.5% ✎ | ▄▄········▄█ beats 3/4 | 1.4% |
$ 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 StarCoderBase 15.5B · needs 12.1 GB memory, 10.1 GB download · 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 12.1 GB memory, 10.1 GB download · 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 12.1 GB memory, 10.1 GB download · 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 68 GB memory, 63.3 GB download · 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'])"
Model repository and documentation: huggingface.co/bigcode ↗
$ how the score was worked out · StarCoder 2 and The Stack v2:… 47%, Granite Code Models: A Family… 42%, CRUXEval published evaluation… 5% 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 |
|---|---|---|
| 4 | 47% | |
| 6 | 42% | |
| 2 | 5% | |
| 1 | 4% | |
| 1 | 1% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 35.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