Models · Data · Code & domain
The Stack
Extracted from public GitHub repositories and deduplicated, with licence and repository metadata.
| Source | BigCode |
|---|---|
| Size | About 3TB deduplicated code / 300+ languages |
| Languages | Multiple code languages |
| Format | JSONL / Parquet |
| Licence | MIT (dataset packaging); code follows the original repositories |
| Commercial use | Check each repository’s code licence |
| Access | Gated download |
| Task fit | Code pretraining / Code retrieval |
| Verified | 2026-11-19 |
Quality and bias
Extracted from public GitHub repositories and deduplicated, with licence and repository metadata.
Use boundaries
Code licences are mixed, including copyleft and unlicensed repositories. Filter before training and distribution.
Next steps
- Open the source page, download the dataset card and licence, and confirm the version and access terms.
- Sample 100–500 records for quality, language and sensitive content before adding it to a training pipeline.
- For RAG or SFT, first read how to choose a RAG corpus and how to mix SFT data.
Source:https://huggingface.co/datasets/bigcode/the-stack · Verified 2026-11-19 · Licence terms follow the source page