TensorX
返回文献探索

Paper · arXiv 2312.17120

Generative AI for Math: Part I -- MathPile: A Billion-Token-Scale Pretraining Corpus for Math

Zengzhi Wang, Rui Xia, Pengfei Liu

28 upvotesDecember 28, 2023arXiv 预印本
AI 摘要

A new large-scale, high-quality math-centric corpus named MathPile has been introduced to enhance mathematical reasoning abilities of language models.

Abstract

High-quality, large-scale corpora are the cornerstone of building foundation models. In this work, we introduce MathPile, a diverse and high-quality math-centric corpus comprising about 9.5 billion tokens. Throughout its creation, we adhered to the principle of ``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 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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Generative AI for Math: Part I -- MathPile: A Billion-Token-Scale Pretraining Corpus for Math | TensorX