atlas

Research map / Large language models / AI and society

RedPajama: an Open Dataset for Training Large Language Models

NeurIPS 2024 · Large language models › AI and society · approach: Data commons and human baselines · 19 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Releases RedPajama-V1 (open reproduction of the LLaMA-1 training corpus, ~1.2T tokens) and RedPajama-V2 (100T+ token raw web corpus with 40+ quality signals), and validates the signals via 468M/1.6B ablation models.

Problem

Pretraining data for LLMs is opaque; open reproductions of training corpora (LLaMA-1) are missing and large-scale raw web data with quality metadata for filtering is unavailable.

Approach

Release a fully open reproduction of the LLaMA-1 corpus (V1) and a massive, mostly unfiltered web corpus (V2) that keeps raw text and attaches quality signals, deduplication IDs and MinHash signatures so users can build their own filtered subsets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply fuzzy deduplication and full Gopher filters to RPv2Llama-2 468M trained on RPv2 (2023-14) · RPv2 (2023-14)average benchmark score: 36.4 -> 37.6Helped
Use full Gopher filters instead of only Gopher natural-language filters (ablation)Llama-2 1.6B trained on RPv2 · RPv2 fullaverage benchmark score: 47.9 -> 50.0Helped
Use Gopher natural-language filters rather than Gopher repetition filters (ablation)Llama-2 468M trained on RPv2 (2023-14) · RPv2 (2023-14)average benchmark score: 37.5 -> 37.2Hurt
Use a fastText classifier rather than DSIR importance weights (ablation)Llama-2 468M trained on RPv2 · RPv2 (9 dumps)average benchmark score: 35.9 -> 35.9No clear effect
Apply only line-level C4 filters (ablation)Llama-2 468M trained on RPv2 · RPv2 (9 dumps)average benchmark scoreNo clear effect
Leave RPv2 (2023-14) unfiltered (ablation)Llama-2 468M trained on RPv2 · Palomavalidation perplexity: 31.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama-V1 RedPajama-V2 C4 Wikipedia Pile validation Paloma

Benchmarks: HELM classic lm-evaluation-harness subset (ARC, HellaSwag, Winogrande, PIQA, LAMBADA, MMLU, etc.) ANLI CoQA PubMedQA SciQ TruthfulQA Pile validation perplexity Paloma perplexity

Metrics: accuracy acc_norm F1 rank-score normalized average perplexity

Baselines: RefinedWeb C4 FineWeb Dolma-v1.7 CC LLaMA-7B Falcon-7B MPT-7B Pythia-2.8B GPT-Neo

Builds on: LLaMA CCNet Gopher rules C4 filters DSIR

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy