Generative AI for Math: Part I -- MathPile: A Billion-Token-Scale Pretraining Corpus for Math
Wang, Zengzhi, Xia, Rui, Liu, Pengfei
–arXiv.org Artificial Intelligence
High-quality, large-scale corpora are the cornerstone of building foundation models. In this work, we introduce \textsc{MathPile}, a diverse and high-quality math-centric corpus comprising about 9.5 billion tokens. Throughout its creation, we adhered to the principle of ``\emph{less is more}'', firmly believing in the supremacy of data quality over quantity, even in the pre-training phase. Our meticulous data collection and processing efforts included a complex suite of preprocessing, prefiltering, language identification, cleaning, filtering, and deduplication, ensuring the high quality of our corpus. Furthermore, we performed data contamination detection on downstream benchmark test sets to eliminate duplicates. We hope our \textsc{MathPile} can help to enhance the mathematical reasoning abilities of language models. We plan to open-source different versions of \mathpile with the scripts used for processing, to facilitate future developments in this field.
arXiv.org Artificial Intelligence
Dec-28-2023
- Country:
- Asia
- China
- Jiangsu Province > Nanjing (0.04)
- Shanghai > Shanghai (0.04)
- Japan > Honshū
- Chūbu > Toyama Prefecture > Toyama (0.04)
- Middle East
- China
- Europe
- Austria (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Italy (0.04)
- Spain > Valencian Community
- Valencia Province > Valencia (0.04)
- United Kingdom > Scotland
- City of Edinburgh > Edinburgh (0.04)
- North America
- Canada
- Ontario > Toronto (0.14)
- Saskatchewan (0.04)
- Dominican Republic (0.04)
- United States
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- New York > New York County
- New York City (0.04)
- Louisiana > Orleans Parish
- Canada
- South America
- Brazil > São Paulo (0.04)
- Chile > Santiago Metropolitan Region
- Santiago Province > Santiago (0.04)
- Asia
- Genre:
- Instructional Material (0.93)
- Research Report (1.00)
- Industry:
- Education (0.67)
- Health & Medicine (0.67)
- Law (0.45)
- Transportation (0.46)
- Technology: