The proof-pile is a 13GB pre-training dataset of mathematical text that comprises 8.3 billion tokens (using the gpt-neox tokenizer). Models trained on this dataset are coming soon :) The dataset is composed of diverse sources of both informal and formal mathematics, namely
The construction of the dataset is reproducible using the code and instructions in the proof-pile Github repo.
This dataset is intended to be used for pre-training and fine-tuning language models. We envision models trained on the proof-pile will have many downstream applications, including informal quantitative reasoning, formal theorem proving, semantic search for formal mathematics, and autoformalization.
All informal mathematics in the proof-pile is written in English and LaTeX (arXiv articles in other languages are filtered out using languagedetect). Formal theorem proving languages represented in this dataset are Lean 3, Isabelle, Coq, HOL Light, Metamath, and Mizar.
The version of set.mm in this dataset has 10% of proofs replaced with the ? character in order to preserve a validation and test set for Metamath provers pre-trained on the proof-pile. The precise split can be found here: validation and test.
The Lean mathlib commit used in this dataset is 6313863. Theorems created in subsequent commits can be used for evaluating Lean theorem provers.
This dataset contains only the training set of the MATH dataset. However, because this dataset contains ProofWiki, the Stacks Project, Trench's Analysis, and Stein's Number Theory, models trained on it cannot be evaluated on the NaturalProofs dataset.
This section describes any significant filtering and transformations made to various subsets of the data.
arXiv.math. The arXiv.math dataset is large, heterogeneous, and contains a great deal of noise. We used the following heuristics when choosing which files from arXiv.math source folders to include in the dataset:
.tex extension.utf-8/16/32 or latin-1 text encoding.gnuplot. Gnuplot-latex is an old command line utility that generates blocks
of entirely unintelligible source.In addition, we apply the following transformations to arXiv.math texts:
\begin{document} and \end{document}.\Refs, \begin{thebibliography}, or \begin{bibdiv}Stack Exchange. We only include questions that have at least 5 upvotes and an answer. We format Stack Exchange posts as follows
QUESTION [{num_upvotes} upvotes]: {text of question}
REPLY [{num_upvotes} votes]: {text of reply}
REPLY [{num_upvotes} votes]: {text of reply}
.
.
.
set.mm.
We converted set.mm into human-readable form by following the instructions in the mm-extract repo
Authors: Zhangir Azerbayev, Edward Ayers, Bartosz Piotrowski.
We would like to thank Jeremy Avigad, Albert Jiang, and Wenda Li for their invaluable guidance, and the Hoskinson Center for Formal Mathematics for its support.
The proof-pile is a 13GB pre-training dataset of mathematical text that comprises 8.3 billion tokens (using the gpt-neox tokenizer). Models trained on this dataset are coming soon :) The dataset is composed of diverse sources of both informal and formal mathematics, namely
The construction of the dataset is reproducible using the code and instructions in the proof-pile Github repo.
This dataset is intended to be used for pre-training and fine-tuning language models. We envision models trained on the proof-pile will have many downstream applications, including informal quantitative reasoning, formal theorem proving, semantic search for formal mathematics, and autoformalization.
All informal mathematics in the proof-pile is written in English and LaTeX (arXiv articles in other languages are filtered out using languagedetect). Formal theorem proving languages represented in this dataset are Lean 3, Isabelle, Coq, HOL Light, Metamath, and Mizar.
The version of set.mm in this dataset has 10% of proofs replaced with the ? character in order to preserve a validation and test set for Metamath provers pre-trained on the proof-pile. The precise split can be found here: validation and test.
The Lean mathlib commit used in this dataset is 6313863. Theorems created in subsequent commits can be used for evaluating Lean theorem provers.
This dataset contains only the training set of the MATH dataset. However, because this dataset contains ProofWiki, the Stacks Project, Trench's Analysis, and Stein's Number Theory, models trained on it cannot be evaluated on the NaturalProofs dataset.
This section describes any significant filtering and transformations made to various subsets of the data.
arXiv.math. The arXiv.math dataset is large, heterogeneous, and contains a great deal of noise. We used the following heuristics when choosing which files from arXiv.math source folders to include in the dataset:
.tex extension.utf-8/16/32 or latin-1 text encoding.gnuplot. Gnuplot-latex is an old command line utility that generates blocks
of entirely unintelligible source.In addition, we apply the following transformations to arXiv.math texts:
\begin{document} and \end{document}.\Refs, \begin{thebibliography}, or \begin{bibdiv}Stack Exchange. We only include questions that have at least 5 upvotes and an answer. We format Stack Exchange posts as follows
QUESTION [{num_upvotes} upvotes]: {text of question}
REPLY [{num_upvotes} votes]: {text of reply}
REPLY [{num_upvotes} votes]: {text of reply}
.
.
.
set.mm.
We converted set.mm into human-readable form by following the instructions in the mm-extract repo
Authors: Zhangir Azerbayev, Edward Ayers, Bartosz Piotrowski.
We would like to thank Jeremy Avigad, Albert Jiang, and Wenda Li for their invaluable guidance, and the Hoskinson Center for Formal Mathematics for its support.