# bigcode-project/starcoder2

Home of StarCoder2!

Repository: https://github.com/bigcode-project/starcoder2
Canonical: https://ross.abutalabs.com/products/starcoder2
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2024-03-21T11:54:59+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 71
- inputs: {"age_days": 999, "days_push": 895, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2087, forks 198 (observed 2026-08-28T04:06:12.019305+00:00)

## What it is
StarCoder2 is a family of open code generation language models (3B, 7B, 15B) trained on 600+ programming languages from The Stack v2, with training, inference, and evaluation code in this repository. The models are designed for code completion with a 16,384-token context window and are distributed via Hugging Face under Apache-2.0.

## Use cases
- generate code completions from a function signature
- fine-tune a code LLM on my own repository data
- run a local code generation model on GPU
- evaluate a code model on programming benchmarks
- train a multilingual code model from scratch

## When to choose
- you need an open-weights code completion model with permissive licensing
- you want to fine-tune or study a transparently trained code LLM
- you need code completion across many programming languages

## When to avoid
- you need an instruction-following chat assistant rather than raw code completion
- you have no GPU or limited memory for large model inference
- you want a hosted API without managing model weights yourself

## Facets
- artifact type: library
- maturity: active
- function: llm-inference, llm-training, machine-learning, deep-learning
- domain: large-language-models, artificial-intelligence, developer-tools
- platform: python, cross-platform
- tags: code-generation, code-completion, transformer-models, huggingface, open-weights, gpu, linux

## Member repositories
- bigcode-project/starcoder2 (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:12.019305+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:55:44.867575+00:00, confidence not recorded.
  - readme: https://github.com/bigcode-project/starcoder2 (fetched 2026-08-28T04:06:12.019305+00:00, sha 4350ba8787e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
