The Pile
Before anyone could train a large open model, someone had to decide what it should read. The Pile is one answer: an 825 GB English text corpus assembled by EleutherAI in 2020 out of twenty-two separate sources, deliberately mixed rather than scraped from one place.
What is actually in itRoughly a third is academic and technical — PubMed Central, arXiv, FreeLaw court opinions, USPTO patents, NIH grant abstracts. The rest spans a filtered Common Crawl slice (Pile-CC), books, GitHub code, Stack Exchange, Wikipedia, subtitles and email corpora. Each source carries a declared weight, and the higher-quality ones are seen more than once per epoch because the authors judged them worth repeating.
Why the mixture was the pointModels trained on the Pile beat models trained on Common Crawl alone at matched token counts, which made data mixture a design choice rather than an afterthought. Just as important, the recipe was public: GPT-Neo, GPT-J, GPT-NeoX-20B and the Pythia suite were all trained on it, so researchers could finally reason about model behaviour knowing exactly what the model had read. That reproducibility is why the Pile still anchors studies on memorisation and data contamination.
Where it stands nowAt roughly 300 billion tokens it is no longer a complete diet — current runs consume trillions, and RedPajama, C4 and FineWeb supply that volume. The Books3 component was withdrawn over copyright claims, so what is distributed today is not the original release. The Pile's lasting contribution is the argument it won: a varied, documented corpus teaches more per token than an undifferentiated pile of web text.
The Pile is an 825 GB open English text corpus assembled by EleutherAI from twenty-two curated sources — academic papers, books, code, legal filings, web text and dialogue — each included at a declared weight. It made deliberate data mixture a public, reproducible choice rather than a lab secret, and trained the first widely used open models, including GPT-J and GPT-NeoX. Studies of memorisation and data contamination still use it as their reference corpus.
Imagine building a library for someone who will read all of it once and then has to answer questions forever. You would not fill it with only newspapers. The Pile is a library like that, put together by a volunteer research group: around 825 gigabytes of text, mixing scientific papers, books, computer code, court rulings, encyclopedia articles and online conversations. It was one of the first such collections anyone could download and inspect, so researchers could finally say exactly what a language system had read. The idea it proved is simple — a varied reading list produces a better reader than a huge but repetitive one.