Data, Data Everywhere: A Guide for Pretraining Dataset Construction
Not on the map. Why?
Abstract (arXiv)
The impressive capabilities of recent language models can be largely attributed to the multi-trillion token pretraining datasets that they are trained on. However, model developers fail to disclose their construction methodology which has lead to a lack of open information on how to develop effective pretraining sets. To address this issue, we perform the first systematic study across the entire pipeline of pretraining set construction. First, we run ablations on existing techniques for pretraining set development to identify which methods translate to the largest gains in model accuracy on downstream evaluations. Then, we categorize the most widely used data source, web crawl snapshots, across the attributes of toxicity, quality, type of speech, and domain. Finally, we show how such attribute information can be used to further refine and improve the quality of a pretraining set. These findings constitute an actionable set of steps that practitioners can use to develop high quality pretraining sets.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 66 of its 90 references that are in the map. First posted on arXiv 8 Jul 2024.
Builds on
66 of 90 references.
References · 66
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
38 more
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023Qwen Technical Reportcited by 3,344
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2023BloombergGPT: A Large Language Model for Financecited by 939
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 742
- 2023The Falcon Series of Open Language Modelscited by 535
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
- 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 488
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2020XCOPA: A Multilingual Dataset for Causal Commonsense Reasoningcited by 333
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
- 2020The Pushshift Reddit Datasetcited by 292
- 2020Unsupervised Translation of Programming Languagescited by 263
- 2019Massively Multilingual Neural Machine Translation in the Wild: Findings and Challengescited by 257
- 2024A Survey on Data Selection for Language Modelscited by 236
- 2018A Simple Method for Commonsense Reasoningcited by 223
- 2019Persuasion for Good: Towards a Personalized Persuasive Dialogue System for Social Goodcited by 209
- 2019Cross-Lingual Ability of Multilingual BERT: An Empirical Studycited by 182
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
- 2019CCMatrix: Mining Billions of High-Quality Parallel Sentences on the WEBcited by 177
- 2015The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systemscited by 172
- 2023SantaCoder: don't reach for the stars!cited by 170
- 2021Challenges in Detoxifying Language Modelscited by 169
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
50 most cited of 66 All 66 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 7; 2026: 1.
11 papers.
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
- 2024Improving Pretraining Data Using Perplexity Correlationscited by 46
- 2024MIND: Math Informed syNthetic Dialogues for Pretraining LLMscited by 14
- 2025Chameleon: A Flexible Data-mixing Framework for Language Model Pretraining and Finetuningcited by 14
- 2025DataRater: Meta-Learned Dataset Curationcited by 13
- 2025Towards Safer Pretraining: Analyzing and Filtering Harmful Content in Webscale datasets for Responsible LLMscited by 9
- 2025IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model Alignmentcited by 8
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Modelscited by 5
- 2025Topic Over Source: The Key to Effective Data Mixing for Language Models Pre-trainingcited by 4
- 2026How Does "English (US)" Become the Default? Triangulating Structural Bias Towards American English Across the LLM Pipelinecited by 3
- 2025Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Trainingcited by 0
- 2026How Does "English (US)" Become the Default? Triangulating Structural Bias Towards American English Across the LLM Pipeline5 Apr 2026
- 2025Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Training29 Jul 2025
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Models4 Jun 2025
- 2025Chameleon: A Flexible Data-mixing Framework for Language Model Pretraining and Finetuning30 May 2025
- 2025DataRater: Meta-Learned Dataset Curation23 May 2025
- 2025IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model Alignment19 May 2025
- 2025Towards Safer Pretraining: Analyzing and Filtering Harmful Content in Webscale datasets for Responsible LLMs4 May 2025
- 2025Topic Over Source: The Key to Effective Data Mixing for Language Models Pre-training24 Feb 2025
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Dataset3 Dec 2024
- 2024MIND: Math Informed syNthetic Dialogues for Pretraining LLMs15 Oct 2024
- 2024Improving Pretraining Data Using Perplexity Correlations9 Sep 2024