whatmodel.sh / StarCoderBase 1B

StarCoderBase 1B is an open-weights language model from BigCode, released July 2023. Its published size is 1.14B parameters. Licence: bigcode-openrail-m.

Catalogue identity notes

Maker repo bigcode/starcoderbase-1b @182f016: licence tag bigcode-openrail-m. 1,137,207,296 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2023-07: month the maker's Hugging Face repo was created (createdAt 2023-07-03). Pretrained base checkpoint (not an instruct/chat version). Gated repository (licence acceptance required on Hugging Face).

25.3±1.2#895 of 949 LLMsfrom 2 benchmark results across 1 source* thinly tested, treat the rank as provisional

$ how it compares

The LLMs ranked either side of StarCoderBase 1B, out of 1132 with a score, then more from BigCode.

#modelscorewhereRAMreleased
1072Falcon 7B Instruct TII25±2local~5.9GB2023-04
1073Qwen2 0.5B Instruct Alibaba25±2local~1.8GB2024-06
1074StarCoderBase 1B BigCode25±1local~2.3GB2023-07
1075Pythia 12B EleutherAI25±1local~9.5GB2023-02
1076RedPajama-INCITE Base 3B v1 Together25±3local~3.4GB2023-05
more from BigCode
724StarCoder2-15B-Instruct-v0.1 BigCode46±1local~11GB2024-04
893StarCoder2 15B BigCode39±1local~11GB2024-02
973StarCoder2 7B BigCode35±1local~6.1GB2024-02

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▃▃▆██▇▆▄▃▁ #457 of 469 * · 99% of its score · 2 tests

Beats Molmo 7B-D (0924), DeepSeek R1 Distill Qwen 1.5B, Qwen3 0.6B here, though they rank higher overall. Trails Falcon3 1B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval14.6% ✎▁·▁▃▃▄▆▅█▃▁▁ beats 4/99easy · avg 79%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 60%sharp
HumanEval+12.2% ✎▁·▁▃▁▃▄▄▄█▃▁ beats 4/99easy · avg 74%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 39%sharp

$ where to run it

Ollama · recommended

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run StarCoderBase 1B · needs ~0.726 GB · from ollama.com
    chat in the terminal
    ollama run starcoder:1b

Other ways to run it

  1. Run it as published · needs ~4.55 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-1b', torch_dtype='auto', device_map='auto')('Once upon a time', max_new_tokens=40)[0]['generated_text'])"

Official weights and documentation: huggingface.co/bigcode ↗

$ how the score was worked out · EvalPlus / EvalPerf published… 99%

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

sourceresultsshare of the scorelicence
EvalPlus / EvalPerf published evaluation runs2▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%Apache-2.0
prior · pull toward the middle▇ 1%
weighted average= 25.3

$ 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