bigcode-project/the-stack-v2

Code for the curation of The Stack v2 and StarCoder2 training data

Hosted by BigCode Project

View on GitHub ↗Jump to charts ↓

bigcode-project/the-stack-v2 has 100+ stars and 10+ forks on GitHub, is written in Jupyter Notebook, and was last pushed on Apr 11, 2024. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 33 minutes ago
Added to GitGenius on October 12th, 2026
Created on December 8th, 2023
Open Issues & Pull Requests: 10 (+0)
GitHub issues: Enabled
Number of forks: 14
Total Stargazers: 147 (+0)
Total Subscribers: 5 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 days
Mean response time: 3.6 days
90th percentile: 4.0 days
Tracked items: 2

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 417 days
Stale 30+ days: 6
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

The Stack v2 is a dataset curation framework for large-scale code training data.

The project addresses the challenge of preparing high-quality code datasets for training large language models. It provides the tooling and methodology used to curate The Stack v2, a foundational dataset that powers StarCoder2 and similar code generation models. The approach involves filtering, deduplication, and quality assessment of source code collected from public repositories, with the curation logic implemented primarily through Jupyter notebooks that document the data processing pipeline.

Developers working on code language models or those needing to construct their own code training datasets will find this project most relevant. It suits teams building or fine-tuning code-focused models who want to understand or replicate the curation practices behind a production-scale dataset. The project is particularly valuable for researchers studying data quality's impact on model performance, as it exposes the specific filtering and deduplication strategies applied during dataset construction.

The project maintains active development with regular updates to the curation pipeline and dataset processing logic. Work continues on refining filtering heuristics and expanding the dataset's language and domain coverage. The codebase receives ongoing maintenance to address edge cases discovered during large-scale data processing. Documentation through executable notebooks enables reproducibility and allows other teams to adapt the curation methodology to their own datasets.