Skip to main content

Models · Data · Pretraining corpora

The Pile

A classic 22-subset mixture for small-model ablations and research reproduction.

SourceEleutherAI
SizeAbout 825 GiB / 22 subsets
LanguagesMostly English
FormatJSONL
LicenceMIT (code); each subset has its own terms
Commercial useCheck each subset
AccessHugging Face / EleutherAI
Task fitPretraining / Research baseline
Verified2026-11-19

Quality and bias

A classic 22-subset mixture for small-model ablations and research reproduction.

Use boundaries

Built in 2020, so web and code data are dated; several subsets have separate licences and provenance that need review.

First use

Pick 3–5 subsets for a small ablation first; do not mix the full corpus into a new model.

Common pitfalls

Treating “open source” as “fully commercially usable”; ignoring time and domain skew between subsets.

Cost

About 800 GB in full; subset sampling is cheap.

Not for

Not suitable as the only pretraining corpus for a new 2026 model.

Compare and alternatives

Older and smaller than RedPajama-v2 / DCLM, but its clear subset structure makes experiments reproducible.

How to verify

Check each subset’s dataset card and licence; sample 50 records for body text and metadata.

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/EleutherAI/pile · Verified 2026-11-19 · Licence terms follow the source page