RedStone: Curating General, Code, Math, and QA Data for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Pre-training Large Language Models (LLMs) on high-quality, meticulously curated datasets is widely recognized as critical for enhancing their performance and generalization capabilities. This study explores the untapped potential of Common Crawl as a comprehensive and flexible resource for pre-training LLMs, addressing both general-purpose language understanding and specialized domain knowledge. We introduce RedStone, an innovative and scalable pipeline engineered to extract and process data from Common Crawl, facilitating the creation of extensive and varied pre-training datasets. Unlike traditional datasets, which often require expensive curation and domain-specific expertise, RedStone leverages the breadth of Common Crawl to deliver datasets tailored to a wide array of domains. In this work, we exemplify its capability by constructing pre-training datasets across multiple fields, including general language understanding, code, mathematics, and question-answering tasks. The flexibility of RedStone allows for easy adaptation to other specialized domains, significantly lowering the barrier to creating valuable domain-specific datasets. Our findings demonstrate that Common Crawl, when harnessed through effective pipelines like RedStone, can serve as a rich, renewable source of pre-training data, unlocking new avenues for domain adaptation and knowledge discovery in LLMs. This work also underscores the importance of innovative data acquisition strategies and highlights the role of web-scale data as a powerful resource in the continued evolution of LLMs. RedStone code and data samples will be publicly available at urlhttps://aka.ms/redstone.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 33 of its 65 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
33 of 65 references.
References · 33
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020GLU Variants Improve Transformercited by 1,724
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
21 more
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023StarCoder: may the source be with you!cited by 790
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 386
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2016FastText.zip: Compressing text classification modelscited by 331
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 194
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 151
- 2024Stable LM 2 1.6B Technical Reportcited by 86
- 2022ERNIE-Code: Beyond English-Centric Cross-lingual Pretraining for Programming Languagescited by 29
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 2.
6 papers.
- 2025Intern-S1: A Scientific Multimodal Foundation Modelcited by 49
- 2024Multimodal Latent Language Modeling with Next-Token Diffusioncited by 47
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 39
- 2025Data Efficacy for Language Model Trainingcited by 8
- 2026Beyond a Single Extractor: Re-thinking HTML-to-Text Extraction for LLM Pretrainingcited by 4
- 2026Distill-then-Replace: Efficient Task-Specific Hybrid Attention Model Constructioncited by 3
- 2026Beyond a Single Extractor: Re-thinking HTML-to-Text Extraction for LLM Pretraining23 Feb 2026
- 2026Distill-then-Replace: Efficient Task-Specific Hybrid Attention Model Construction16 Jan 2026
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search21 Aug 2025
- 2025Intern-S1: A Scientific Multimodal Foundation Model21 Aug 2025
- 2025Data Efficacy for Language Model Training26 Jun 2025
- 2024Multimodal Latent Language Modeling with Next-Token Diffusion11 Dec 2024