Skip to content
RAG Repo

The Pile

The Pile was one of the first serious attempts to build a diverse open pretraining corpus. Rather than relying on web crawl alone, EleutherAI combined 22 sources into one dataset, including PubMed and arXiv papers, books, GitHub code, Stack Exchange, subtitles, and filtered web text. The idea was that a mix of domains produces more capable and better-rounded models than web data on its own.

It totals about 825 GB and is distributed as JSON Lines, where each line is one document with metadata marking which sub-dataset it came from. That tagging makes it easy to include or exclude specific domains for your own use.

It trained models such as GPT-Neo, GPT-J, and GPT-NeoX, and remains a common research baseline. Licensing is mixed: MIT covers the compilation, but individual subsets keep their own licences, so check terms before redistributing.

pretrainingmulti-sourceenglisheleutheraiacademic

Related sources