Skip to content
RAG Repo

RedPajama

RedPajama-V1 recreated the recipe described in the original LLaMA paper, mixing Common Crawl web text with Wikipedia, public-domain and other books, arXiv papers, GitHub code, and Stack Exchange Q&A. It gave the open community a roughly 1.2T token dataset with a known composition, and became the base for several open models.

RedPajama-V2 is a different beast: a web-only corpus of more than 100T tokens drawn from 84 monthly Common Crawl snapshots across five languages. Instead of pre-filtering, it ships 46 precomputed quality signals per document (things like language scores, repetition rates, and heuristic flags), so you can apply your own filtering thresholds rather than accept someone else's.

The pipeline code is on GitHub under Apache 2.0, while the underlying data keeps the licences of its original sources. The data itself is hosted on HuggingFace. V2 is best treated as raw material you filter down, not a ready-to-train corpus.

web-crawlpretrainingmulti-sourceopen-reproductionquality-signals

Related sources