whatmodel.sh / StarCoderBase 15.5B

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).

35.0±0.9#638 of 743 LLMsfrom 14 benchmark results across 5 sources

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.

#modelscorewhereRAMreleased
753StarCoder2 3B BigCode35±1local~3.4GB2024-02
754Granite 3B Code Base (2K) IBM35±1local~3.7GB2024-04
755StarCoderBase 15.5B BigCode35±1local~12GB2023-05
756Vicuna 7B v1.5 LMSYS35±1local~5.8GB2023-08
757ChatGLM3 6B 128K Zhipu AI (THUDM)35±4local~5.8GB2024-01
more from BigCode
543StarCoder2-15B-Instruct-v0.1 BigCode47±1local~11GB2024-04
677StarCoder2 15B BigCode40±1local~11GB2024-02
738StarCoder2 7B BigCode37±1local~5.3GB2024-02

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
HumanEval lab +129.3% ✎▂··█▂▄▂··▄▂▂ beats 3/12easy · avg 76%▇▇▇▇▇▇▇▇▇▇▇ 26%sharp · at its level · several runs
MBPP +137.4% ✎█·▅▃▃▃▅▃▃▅·▅ beats 6/15easy · avg 81%▇▇▇▇▇▇▇ 18%at its level · several runs
HumanEvalSynthesize (HumanEvalPack, 6-language average)31.9% ✎▁·▂▁▂▆▅█▄▄▁▂ beats 10/35medium · avg 62%▇▇▇▇▇ 12%at its level
CRUXEval-I +131.3% ✎▁··▁▅▂█▇▁··▁ beats 4/22medium · avg 57%▇▇▇ 8.5%at its level · several runs
CRUXEval-O +134.2% ✎▁·▂▃▁█▁▂···▁ beats 5/22medium · avg 54%▇▇▇ 7.5%blunt · at its level · several runs
DS-1000 lab23.8% ✎▄▄·▄██▄█·█·▄ beats 5/12medium · avg 49%▇▇▇ 7.1%typical
HumanEvalExplain (HumanEvalPack, 6-language average)15.3% ✎▄▇█▃▄▇▄▁▇▃·▁ beats 11/35medium · avg 46%▇▇▇ 6.3%typical
HumanEvalFix (HumanEvalPack, 6-language average)12.9% ✎▁·▁▁▄██▄█▁▅▅ beats 11/35medium · avg 52%▇▇ 5.1%sharp
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.

testresultvs the others in its rundifficultycountswhy
GSM8K lab21.5% ✎▄▄▄·▄█·██·█▄ beats 3/12easy · avg 76%▇▇▇ 7.0%sharp · at its level
other tests1 not in a task · 1.4% of its score
testresultvs the others in its rundifficultycountswhy
ODEX English pass@1 (zero-shot)46.5% ✎▄▄········▄█ beats 3/4medium · avg 58%▇ 1.4%blunt · at its level

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run StarCoderBase 15.5B · needs 12.1 GB memory, 10.1 GB download · from huggingface.co/mradermacher
    chat in the terminal
    llama cli -hf mradermacher/starcoderbase-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run StarCoderBase 15.5B · needs 12.1 GB memory, 10.1 GB download · from huggingface.co/mradermacher

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/mradermacher/starcoderbase-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run StarCoderBase 15.5B · needs 12.1 GB memory, 10.1 GB download · from huggingface.co/mradermacher
    chat in the terminal
    ollama run hf.co/mradermacher/starcoderbase-GGUF:Q4_K_M

Other ways to run it

  1. 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

$ 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