Renaissance Labs · Code
Dataset · 2022-11

The Stack v1

First BigCode corpus of permissively licensed GitHub code (2022 cutoff), used for StarCoder and SantaCoder.

How to use it

Mostly superseded by v2/v3; useful for reproducing older models or small experiments (the-stack-smol).

Caveats

Gated; old 2022 cutoff; heavy overlap with other corpora; benchmark contamination (HumanEval-style) needs decontamination. Card is gated 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.
load
from datasets import load_dataset
ds = load_dataset("bigcode/the-stack", data_dir="data/python", split="train", streaming=True)

Related