Dataset · 2024-02
The Stack v2
StarCoder2 training corpus built on the Software Heritage archive (2023), with per-file license labels. The HF release holds metadata and SWH blob ids; contents come from the SWH S3 bucket.
How to use it
Use the train-smol-ids or train-full-ids variants for the StarCoder2 mix, or the dedup variant for custom filtering. Must accept terms and fetch file contents separately from Software Heritage.
Caveats
Gated; accepting BigCode terms is required. Contents are not in the HF repo (need AWS access to SWH S3 and your own download tooling). License labels are heuristic (ScanCode), license laundering exists. Opt-outs only honored as of release date. Superseded by v3 for fresher data. Card could not be read without login, so sizes cite the v3 card.
LicenseThis entry is not plainly permissive (family: mixed or per-file). Read the license on the source page before using it for training or for a product.
Related
- DeepSeek-Coder: Repo-level pretraining data construction (dependency-ordered files) and fill-in-the-middle for code...
- Nemotron-Pretraining-Code-v3 (metadata): Incremental metadata list of permissively licensed GitHub files for Nemotron 3 Ultra pretraining; use with...
- The Stack v3 (train): Successor to The Stack v2: a direct GitHub crawl (cutoff 2025-08-07) with file contents inline, grouped by...
- Code Llama 70B (legacy): Meta's 2024 code Llama; included for historical comparison...
- Codestral-22B-v0.1: Mistral's 2024 code model; weights open for research and testing...
- Common Pile: Stack v2 (openly licensed): Stack v2 filtered to openly licensed repos (all detected licenses on the Blue Oak list), part of the Common...
