whatmodel.sh / StarCoderBase 3B
StarCoderBase 3B
↗ share
+ contribute
StarCoderBase 3B is an open-weights language model from BigCode, released June 2023. Its published size is 3B parameters. Licence: bigcode-openrail-m.
Catalogue identity notes
Comparison-only. Maker repo bigcode/starcoderbase-3b @e1c5ef4: licence tag bigcode-openrail-m. Parameters: nominal size from the model name (no safetensors metadata in the repo) (dense, so active = total). Released 2023-06: month the maker's Hugging Face repo was created (createdAt 2023-06-30). StarCoderBase (2023) 3B; not StarCoder2.
$ how it compares
The LLMs ranked either side of StarCoderBase 3B, out of 828 with a score, then more from BigCode.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 757 | 28±1 | comparison only | |||
| 758 | 28±1 | comparison only | |||
| 759 | 28±1 | local | |||
| 760 | 27±1 | local | |||
| 761 | 27±1 | local | |||
| more from BigCode | |||||
| 521 | 46±1 | local | |||
| 639 | 39±1 | local | |||
| 698 | 35±1 | local | |||
$ what it's good at
coding▁▁▃▃▆██▇▆▄▃▁ #442 of 458 · 97% of its score · 9 tests
Beats Molmo 7B-D (0924), DeepSeek R1 Distill Qwen 1.5B, Tulu 2 7B here, though they rank higher overall. Trails Falcon3 1B Instruct, Granite 3.0 1B-A400M Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval +1 | 17.7% ✎ | ▁·▁▃▃▄▆▅█▃▁▁ beats 6/99 | 43% |
| HumanEval+ | 15.9% ✎ | ▁·▁▁▃▃▄▄▄█▃▁ beats 6/99 | 21% |
| MBPP +1 | 29.4% ✎ | █·▅▃▃▃▅▃▃▅·▅ beats 0/15 | 11% |
| HumanEvalSynthesize (HumanEvalPack, 6-language average) | 21.8% ✎ | ▁·▂▃▂▆▅█▄▄▁▂ beats 3/35 | 6.7% |
| DS-1000 lab | 14.2% ✎ | ▄▄·▄██▄█·█·▄ beats 0/12 | 3.9% |
| CRUXEval-I | 27.5% ✎ | ▃▅█▃▃▅·▃▃▅·▅ beats 0/15 | 3.5% |
| HumanEvalExplain (HumanEvalPack, 6-language average) | 11.9% ✎ | ▄▇█▃▄▇▄▁▇▃·▁ beats 2/35 | 3.0% |
| CRUXEval-O | 27.0% ✎ | ▃·▃██▅▃·▃▃▅▃ beats 0/15 | 2.9% |
1 more test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEvalFix (HumanEvalPack, 6-language average) | 6.4% ✎ | ▁·▁▃▄██▄█▁▅▅ beats 2/35 | 2.0% |
math▃▂▃▅▆▅▄█▄▁▁▁ #398 of 398 * · 2.5% of its score · 1 test
Trails Qwen2 0.5B Instruct, Granite 4.0 350M, Granite 4.0 H 350M here, though they rank lower overall.
$ where to run it
Ollama · recommended
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run StarCoderBase 3B · needs ~1.8 GB · from ollama.comchat in the terminal
ollama run starcoder:3b
Other ways to run it
- Run it as published · needs ~12.17 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-3b', 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 · EvalPlus / EvalPerf published… 53%, StarCoder 2 and The Stack v2:… 24%, Granite Code Models: A Family… 22%
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 |
|---|---|---|
| 2 | 53% | |
| 4 | 24% | |
| 6 | 22% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 27.6 |
$ 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