The Stack v2
by BigCode · open-source · Last verified 2026-03-17
An expanded code pretraining dataset containing 3 trillion tokens of source code in 619 programming languages, curated by BigCode from GitHub repositories with permissive SPDX licenses. Version 2 triples the size of the original Stack and includes improved deduplication, opt-out mechanisms for authors, and structured data from GitHub issues and pull requests alongside raw source files.
https://huggingface.co/datasets/bigcode/the-stack-v2 ↗B+
B+—Good
Adoption: AQuality: A+Freshness: ACitations: AEngagement: F
Specifications
- License
- Apache-2.0
- Pricing
- open-source
- Capabilities
- code-generation, pretraining, code-completion
- Integrations
- hugging-face, apache-spark
- Use Cases
- code-model-pretraining, research, code-completion
- API Available
- Yes
- Tags
- code, pretraining, permissive-license, multilingual-code, github
- Added
- 2026-03-17
- Completeness
- 100%
Index Score
72.3Adoption
84
Quality
90
Freshness
85
Citations
83
Engagement
0
Put AI to work for your business
Deploy this dataset alongside autonomous AaaS agents that handle tasks end-to-end — no babysitting required.