Models › starcoder2 family

bigcode BigCode OpenRAIL-M out 3 years ago

16.0B parameters, text in, text out, 16K tokens of context.

Verified 2026-10-25 Rank #759 in LLMs · score 71.3 method v1 Sources 3 Downloads 30d 12.6k · #490 of 619 tracked

Can I run it?9.6GB at INT4Estimatefits a 16 GB cardmethod
Can I use it?BigCode OpenRAIL-MAttribution requiredlicence file2026-10-24
Do people use it?12.6kdownloads, 30 days#490 of 619 we track · below the median683 likesHugging Face2026-10-24

Worth reading

Picked by rule from 9 tracked pieces: the lab's own post, the most shared, a field report, the latest.

Most discussed · 38 HN pts

StarCoder2-Instruct: Transparent Self-Alignment for Code Generation

SelfCodeAlign creates StarCoder2-Instruct by using StarCoder2-15B to generate thousands of instruction-response pairs for fine-tuning StarCoder-15B without human annotations or distilled data from proprietary models.

github.com 2024-05-04 38 HN pts · 9 comments 197 words about the starcoder2 family family
Latest · 2 years ago

StarCoder2-Instruct

StarCoder2-15B-Instruct achieves a 72.6 HumanEval score, surpassing the 72.0 score of CodeLlama-70B-Instruct.

huggingface.co 2024-04-29 1 HN pts 1.1k words about the starcoder2 family family

9 best of 9 tracked

The 2 picks above, plus these 7. Top is the radar's score: discussion, source authority and the lab's own posts, fading with age.

  1. ArticleStarCoder2 and The Stack v2: new code LLMs and datasethuggingface.co · 2024-02-28 · 12 HN pts
  2. ArticleStarCoder 2 is a code-generating AI that runs on most GPUstechcrunch.com · 2024-02-28 · 28 HN pts
  3. PaperStarCoder 2 and The Stack v2: The Next Generationarxiv.org · 2024-03-01 · 2 HN pts
  4. CodeOllama added support for StarCoder2 and DolphinCodergithub.com · 2024-03-06 · 4 HN pts
  5. CodeStarCoder 2github.com · 2024-02-29 · 2 HN pts
  6. DiscussionStarCoder2 and the Stack v2twitter.com · 2024-02-28 · 3 HN pts
  7. DiscussionAsk HN: How do you like StarCoder 2?news.ycombinator.com · 2024-03-06 · 1 HN pts

Where it's used

Hugging Face does not say who downloads a model or with what. These are the proxies: API providers listing it, quantized builds, fine-tunes/adapters/merges, and Spaces that load it.

No API provider serves it, so its downloads are people running it themselves: 22 quantized builds and 92 Spaces.

  • As a service0no API provider listed
  • On own hardware22quantized builds
  • Built on3421 fine-tunes · 13 adapters · 0 merges
  • In apps92Hugging Face Spaces

Top Spaces running it: Tonic/starcoder2 ♥ 80 · KBaba7/Quant ♥ 51 · FallnAI/Quantize-HF-Models ♥ 19 · bhaskartripathi/LLM_Quantization ♥ 16

Will it fit?

Weights only, an estimate: leave room for the KV cache. Method

Fits a 16 GB card at INT4

About 9.6 GB at INT4, 19 GB at FP8, 38 GB at BF16: weights only, so leave room for the KV cache.

16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 9.6 GB of weights (estimate; KV cache and activations extra)INT49.6 GBFP8: about 19 GB of weights (estimate; KV cache and activations extra)FP819 GBBF16: about 38 GB of weights (estimate; KV cache and activations extra)BF1638 GB
16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 9.6 GB of weights (estimate; KV cache and activations extra)INT49.6 GBFP8: about 19 GB of weights (estimate; KV cache and activations extra)FP819 GBBF16: about 38 GB of weights (estimate; KV cache and activations extra)BF1638 GB

Estimate params × bytes per param × 1.2 · how we estimate

The story so far

Weights, every dated article, and repo commits on one rail.

Most coverage came in the first two weeks

Teal is the weights (2024-02-20), amber triangles are 9 dated articles (each links to it), grey ticks are repo commits.

What people built on it

56 derivatives on the Hub. Which build to run, by runtime: the most downloaded in each class.

56 derivatives on the Hub, led by 22 quantized

From the Hugging Face model tree; quantized builds in teal, fine-tunes, merges and adapters in greys.

22 quantized (Hugging Face model tree)21 fine-tunes (Hugging Face model tree)13 adapters (Hugging Face model tree)22 quantized21 fine-tunes13 adapters
22 quantized (Hugging Face model tree)21 fine-tunes (Hugging Face model tree)13 adapters (Hugging Face model tree)22 quantized21 fine-tunes13 adapters

All variants →

Reference

Everything else, folded: the full tables, every source.

What the card says

1 cited sentence

Summary generated, cited

The architecture utilizes grouped-query and sliding window attention with a context window of 16,384 tokens.[1]

  1. “a context window of 16,384 tokens”

Generated 2026-10-07 15:14 UTC by parasail-gemma-4-26b-a4b-it; each numeral points at the fact it rests on. Not a verdict.

Use-case evidence

1 use case

What it is good at 1 use case

Labels are evidence, not verdicts: measured a third-party leaderboard row for this model; author-reported a number the model author published in the card or eval files; structural a deterministic signal from the name, config or chat template, or a decision-model estimate. Each chip links to its source. All use cases.

Facts

21 fields

Listed in LLMs

Facts

Pipeline tagtext-generation
Librarytransformers
ArchitecturesStarcoder2ForCausalLM
Model typestarcoder2
Dtypefloat32
Params by dtypeF32: 15,957,889,024
Size bandL
MoEno
Context length16,384 (config.json max_position_embeddings)
PapersarXiv:2305.13245, arXiv:2205.14135, arXiv:2004.05150, arXiv:2207.14255, arXiv:2402.19173
LicenseBigCode OpenRAIL-M (bigcode-openrail-m)
Hub snapshot2026-10-25

Servability

vLLM · SGLang

Servability

vLLM: supported · Starcoder2ForCausalLM · 7050ef881ff0835f6890a47db1859a24c65481d6SGLang: supported · Starcoder2ForCausalLM · 773cb938fe9484a8f7e7e46fb1b1fe96412c59ed

vLLM registry (7050ef881ff0835f6890a47db1859a24c65481d6) · SGLang registry (773cb938fe9484a8f7e7e46fb1b1fe96412c59ed) · Matched by architecture class name against each project's registry on main; 'supported' means the architecture is registered, not that this checkpoint was tested.

Hardware fit

3 estimates

Hardware fit ESTIMATE

Weights-only memory for starcoder2-15b: params × bytes/param × 1.2 overhead. KV cache and activations are extra. How this is computed.

BF16 (2 bytes/param)38 GB · Single high-end GPU (<80 GB)
FP8 (1 byte/param)19 GB · Single GPU (<24 GB)
INT4 (0.5 bytes/param)9.6 GB · Single GPU (<24 GB)

Weights only (params × bytes/param × 1.2 overhead); KV cache and activations extra.

All variants

40 variants

Lineage

Original model Family: bigcode/starcoder2 56 derivatives on the Hub

quantized: 22finetune: 21adapter: 13

Top variants (40 shown, ranked by downloads)

Relation
Quant
Size
40 rows
Variant Relation Quant Params Band License Author Likes Downloads
second-state/StarCoder2-15B-GGUF quantized GGUF — — bigcode-openrail-m second-state 32 115.4k
lmstudio-community/starcoder2-15b-instruct-v0.1-GGUF quantized GGUF — — bigcode-openrail-m lmstudio-community 7 63k
bigcode/starcoder2-15b-instruct-v0.1 finetune — 16.0B L bigcode-openrail-m bigcode 106 56k
bartowski/starcoder2-15b-instruct-v0.1-GGUF quantized GGUF — — bigcode-openrail-m bartowski 9 32.6k
mradermacher/starcoder2-15b-i1-GGUF quantized GGUF — — bigcode-openrail-m mradermacher 2 22.5k
mradermacher/starcoder2-15b-GGUF quantized GGUF — — bigcode-openrail-m mradermacher 1 10.8k
akpsahan/starcoder2-15b-Q4_K_M-GGUF quantized GGUF — — bigcode-openrail-m akpsahan 0 9.6k
DevQuasar-8/bigcode.starcoder2-15b-GGUF quantized GGUF — — — DevQuasar-8 0 5.6k
LiteLLMs/starcoder2-15b-instruct-v0.1-GGUF quantized GGUF — — bigcode-openrail-m LiteLLMs 1 4.4k
tensorblock/starcoder2-15b-GGUF quantized GGUF — — bigcode-openrail-m tensorblock 0 3.8k
HuggingFaceH4/starchat2-15b-sft-v0.1 finetune — 16.0B L bigcode-openrail-m HuggingFaceH4 5 2.4k
RedHatAI/starcoder2-15b-quantized.w8a16 quantized -quant 16.0B L bigcode-openrail-m RedHatAI 0 2.1k
opencsg/opencsg-starcoder2-15b-v0.1 finetune — 16.0B L bigcode-openrail-m opencsg 2 1.5k
teemperor/starcoder2-15b-Q6_K-GGUF quantized Q6_K — — bigcode-openrail-m teemperor 1 1.5k
mlx-community/bigcode-starcoder2-15b-4bit quantized -4bit 16.0B L bigcode-openrail-m mlx-community 0 1.3k
OpenVINO/starcoder2-15b-int4-ov finetune int4 — — bigcode-openrail-m OpenVINO 2 907
mlx-community/starcoder2-15b-instruct-v0.1-4bit finetune -4bit 16.0B L bigcode-openrail-m mlx-community 0 879
mlx-community/bigcode-starcoder2-15b-8bit quantized -8bit 16.0B L bigcode-openrail-m mlx-community 0 755
mlx-community/starcoder2-15b-instruct-v0.1-8bit finetune -8bit 16.0B L bigcode-openrail-m mlx-community 0 723
mlx-community/starcoder2-15b-instruct-v0.1 finetune — 16.0B L bigcode-openrail-m mlx-community 0 690
osukhoroslov-hw/starcoder2-15b-Q5_K_M-GGUF quantized GGUF — — bigcode-openrail-m osukhoroslov-hw 0 684
mlx-community/bigcode-starcoder2-15b-fp32 finetune — 16.0B L bigcode-openrail-m mlx-community 0 652
OpenVINO/starcoder2-15b-fp16-ov finetune -fp16 — — bigcode-openrail-m OpenVINO 0 642
mlx-community/bigcode-starcoder2-15b-6bit quantized — 16.0B L bigcode-openrail-m mlx-community 0 625
mlx-community/bigcode-starcoder2-15b-fp16 finetune -fp16 16.0B L bigcode-openrail-m mlx-community 0 588
OpenVINO/starcoder2-15b-int8-ov finetune int8 — — bigcode-openrail-m OpenVINO 0 424
Johnblick187/SmartCoderDense finetune — 4.65B M apache-2.0 Johnblick187 0 357
YorkieOH10/starcoder2-15b-instruct-v0.1-Q8_0-GGUF quantized Q8_0 — — bigcode-openrail-m YorkieOH10 0 342
shavera/starcoder2-15b-w4-autoawq-gemm quantized awq 16.0B L bigcode-openrail-m shavera 0 340
neighborwang/ModeliCo-15B finetune — 16.0B L apache-2.0 neighborwang 2 207
li-muyang/starchat2-15b-v0.1 finetune — 16.0B L bigcode-openrail-m li-muyang 0 306
suika556/starcoder2-15b-Q6_K-GGUF quantized Q6_K — — bigcode-openrail-m suika556 0 295
jacobcarajo/starcoder2-15b-Q5_K_M-GGUF quantized GGUF — — bigcode-openrail-m jacobcarajo 0 274
Ffftdtd5dtft/starcoder2-15b-Q2_K-GGUF quantized Q2_K — — bigcode-openrail-m Ffftdtd5dtft 0 272
KaQyn/peft-lora-starcoder2-15b-unity-copilot adapter — — — — KaQyn 0 154
andstor/bigcode-starcoder2-15b-unit-test-fine-tuning finetune — 16.0B L bigcode-openrail-m andstor 0 151
kevinwsbr/starcoder-vulnfixes adapter — 16.0B L bigcode-openrail-m kevinwsbr 0 126
lainlives/starcoder2-15b-bnb-4bit quantized -bnb 16.1B L bigcode-openrail-m lainlives 0 122
andstor/bigcode-starcoder2-15b-unit-test-lora adapter — — — bigcode-openrail-m andstor 0 103
andstor/bigcode-starcoder2-15b-unit-test-ia3 adapter — — — bigcode-openrail-m andstor 0 97

Repository changelog

14 commits

Repository changelog 14 commits

DateCommitSHA
2024-06-05 Update values of `bos_token_id` and `eos_token_id` in generation_config.json (#25) 46d4474
2024-03-06 change widget inference parameters 995200d
2024-03-04 add dropout (#13) acfb201
2024-03-04 Update config.json (#9) 1dab6bb
2024-03-01 fix paper (#7) d020785
2024-02-28 Fix table of contents (#4) c78f7e5
2024-02-28 Update README.md e18a21d
2024-02-27 NVIDIA framework and contribution updates. (#3) b1bcca5
2024-02-27 Update README.md (#2) 1c2dae0
2024-02-27 add model 56438be
2024-02-27 fix model name cb14254
2024-02-27 fix typos eaa8ac9
2024-02-27 Update README.md (#1) 5c5e0d3
2024-02-20 initial commit 44b897e

Articles and coverage

9 pieces

Ranked by source signals (HN, Lobsters, authority domains, official posts) and recency. Summaries are generated from a stored copy of the article text; every sentence cites a span of that text, and nothing is shown that failed the citation check.

Official2

huggingface.co2024-02-28authorityabout the starcoder2 familyHN 12 pts · 1 comments532 words
BigCode releases StarCoder2, a family of open code LLMs trained on The Stack v2 and licensed under the BigCode OpenRAIL-M v1 license agreement. The models utilize the Fill-in-the-Middle objective and feature a 16,384 token context window with sliding window attention of 4,096 tokens. The flagship StarCoder2-15B model is trained on over 4 trillion tokens from 600+ programming languages derived from the Software Heritage archive.written, reviewed, cited
huggingface.co2024-04-29authorityabout the starcoder2 familyHN 1 pts · 0 comments1,144 words
StarCoder2-15B-Instruct achieves a 72.6 HumanEval score, surpassing the 72.0 score of CodeLlama-70B-Instruct. The model generates 50k instructions paired with passing responses after filtering 500k samples that executed successfully in a sandbox environment.generated, cited

Analysis5

github.com2024-05-04authorityabout the starcoder2 familyHN 38 pts · 9 comments197 words
SelfCodeAlign creates StarCoder2-Instruct by using StarCoder2-15B to generate thousands of instruction-response pairs for fine-tuning StarCoder-15B without human annotations or distilled data from proprietary models. The resulting model, bigcode/starcoder2-15b-instruct-v0.1, is the first entirely self-aligned code LLM trained with a fully permissive and transparent pipeline using the bigcode/self-oss-instruct-sc2-exec-filter-50k dataset.written, reviewed, cited
techcrunch.com2024-02-28about the starcoder2 familyHN 28 pts · 1 comments1,347 words
StarCoder 2 is a new family of open source code-generating models released today by Hugging Face, ServiceNow, and Nvidia. It includes a 3-billion-parameter (3B) model trained by ServiceNow, a 7-billion-parameter (7B) model trained by Hugging Face, and a 15-billion-parameter (15B) model trained by Nvidia. Trained on 67.5 terabytes of data from Software Heritage, the models operate under the BigCode Open RAIL-M 1.0 license and are available for local deployment.written, reviewed, cited
  • The license strictly prohibits using StarCoder 2 for medical advice-giving applications.
  • StarCoder 2 performs weaker on languages other than English and lower-resource code like Fortran and Haskell.
arxiv.org2024-03-01authorityabout the starcoder2 familyHN 2 pts · 0 comments405 words
The BigCode project introduces StarCoder2, a new family of open-source code large language models trained on The Stack v2. The project trains models with 3B, 7B, and 15B parameters on between 3.3 and 4.3 trillion tokens and makes the model weights available under an OpenRAIL license. StarCoder2-3B outperforms StarCoderBase-15B on most benchmarks, while StarCoder2-15B matches or outperforms CodeLlama-34B. The team ensures full transparency by releasing the SoftWare Heritage persistent IDentifiers (SWHIDs) of the source code data.written, reviewed, cited
github.com2024-03-06authorityabout the starcoder2 familyHN 4 pts · 0 comments1,282 words
github.com2024-02-29authorityabout the starcoder2 familyHN 2 pts · 1 comments666 words

Community2

twitter.com2024-02-28about the starcoder2 familyHN 3 pts · 0 comments
news.ycombinator.com2024-03-06about the starcoder2 familyHN 1 pts · 0 comments73 words

Papers

5 papers

Papers 5

arXiv links found in the model card and its tags. "Peer-reviewed" is shown only with evidence: a published venue in OpenAlex (measured) or the authors' own journal reference on arXiv (reported).

Similar models

3 models

Similar models

  • Qwen3-14B · 14.8B
    same size band (L), same task (text-generation), more providers, permissive license
  • phi-4 · 14.7B
    same size band (L), same task (text-generation), more providers, permissive license
  • DeepSeek-R1-Distill-Qwen-14B · 14.8B
    same size band (L), same task (text-generation), more providers, permissive license

Sources

3 sources

Sources

Hub snapshot: 2026-10-25 · HF API: 2026-10-24 21:42 UTC · Providers: 2026-10-24 21:44 UTC · Articles: 2026-10-24 21:46 UTC · Summary: 2026-10-07 15:14 UTC · Last verified 2026-10-25

Follow starcoder2-15b

Watch this model

Email alerts are not open yet; the feeds above are the same data. See feeds for the item schema.