Common Corpus
Common Corpus is one of the largest openly licensed text collections assembled for training language models, containing 2,267,302,720,836 tokens. It is organised into five broad streams: OpenCulture (books, newspapers and cultural heritage material), OpenGovernment (administrative and legal documents), OpenSource (code), OpenScience (scholarly articles) and OpenWeb. More than half of the text predates the 21st century, reflecting the heavy weighting towards public-domain cultural heritage. It is genuinely multilingual: eight languages carry more than 10 billion tokens (including German, Spanish, Italian, Polish, Greek and Latin) and 33 languages carry more than 1 billion.
The dataset is distributed as Parquet files on Hugging Face, so you can stream it with the datasets library or pull the shards directly for bulk processing. Every record keeps documented contextual metadata and source information, which is unusual at this scale and useful when you need to trace where a passage came from.
For RAG and AI work, Common Corpus is best treated as a broad-coverage pretraining or domain-mixing corpus, and as a provenance-clean base you can filter down into a retrieval index for history, law, government or public-domain literature. Because it deliberately excludes copyrighted material, it is a sensible starting point when licensing risk matters.
Watch-outs: the licence is not a single blanket grant. Individual documents carry their own terms (CC0, various Creative Commons variants, MIT, the French Licence ouverte and others), so the compilation licence differs from the item-level licences, and any share-alike or attribution obligations must be checked per source before redistribution. Toxicity and PII filtering were applied but are imperfect. If you need alternatives already common in a directory, compare it with FineWeb for filtered web text and Common Crawl for raw web archives.
Related sources
C4 (Colossal Clean Crawled Corpus)
A 750 GB English corpus derived from Common Crawl using heuristic cleaning to keep natural language and drop gibberish, boilerplate, and placeholder text. Built to train Google's T5 and later used for MPT-7B and others.
Common Crawl
A nonprofit that crawls the web and freely provides its archives and datasets. Petabytes of raw web data from billions of pages, with a new snapshot each month. Used in the training of GPT-3, LLaMA, T5, and many other large language models.
Common Pile v0.1
An 8 TB corpus of public domain and openly licensed text drawn from 30 sources, assembled by EleutherAI as a licence-transparent alternative to web-scraped pretraining data. Used to train the Comma family of language models.
DCLM-Baseline (DataComp-LM)
A filtered English web dataset from the DataComp-LM benchmark project, produced by running model-based quality filtering over Common Crawl. Built to show which data-curation choices most improve language model training.