Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Merge branch 'main' of https://huggingface.co/datasets/hoskinson-center/proof-pile into main
Browse files
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
language_creators:
|
| 7 |
+
- found
|
| 8 |
+
license: []
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
pretty_name: proof-pile
|
| 12 |
+
size_categories: []
|
| 13 |
+
source_datasets: []
|
| 14 |
+
tags:
|
| 15 |
+
- math
|
| 16 |
+
- mathematics
|
| 17 |
+
- formal-mathematics
|
| 18 |
+
task_categories:
|
| 19 |
+
- text-generation
|
| 20 |
+
task_ids:
|
| 21 |
+
- language-modeling
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
Note: this repo is a WIP and does not yet implement all features described below. It is certainly not ready to be used to train a model.
|
| 25 |
+
# Dataset Card for Proof-pile
|
| 26 |
+
|
| 27 |
+
# Dataset Description
|
| 28 |
+
The `proof-pile` is a 45GB pre-training dataset of mathematical text. The dataset is composed of diverse sources of both informal and formal mathematics, namely
|
| 29 |
+
- ArXiv.math (40GB)
|
| 30 |
+
- Open-source math textbooks (50MB)
|
| 31 |
+
- Formal mathematics libraries (500MB)
|
| 32 |
+
- Lean mathlib and other Lean repositories
|
| 33 |
+
- Isabelle AFP
|
| 34 |
+
- Coq mathematical components and other Coq repositories
|
| 35 |
+
- HOL Light
|
| 36 |
+
- set.mm
|
| 37 |
+
- Mizar Mathematical Library
|
| 38 |
+
- Math Overflow and Math Stack Exchange (500MB)
|
| 39 |
+
- Wiki-style sources (50MB)
|
| 40 |
+
- ProofWiki
|
| 41 |
+
- Wikipedia math articles
|
| 42 |
+
- MATH dataset (6MB)
|
| 43 |
+
|
| 44 |
+
# Supported Tasks
|
| 45 |
+
This dataset is intended to be used for pre-training language models. We envision models pre-trained on the `proof-pile` will have many downstream applications, including informal quantitative reasoning, formal theorem proving, semantic search for formal mathematics, and autoformalization.
|
| 46 |
+
|
| 47 |
+
# Languages
|
| 48 |
+
All informal mathematics in the `proof-pile` is written in English and LaTeX (arXiv articles in other languages are filtered out using [languagedetect](https://github.com/shuyo/language-detection/blob/wiki/ProjectHome.md)). Formal theorem proving languages represented in this dataset are Lean 3, Isabelle, Coq, HOL Light, Metamath, and Mizar.
|
| 49 |
+
|
| 50 |
+
# Splits
|
| 51 |
+
The data is sorted into `"arxiv", "books", "formal", "stack-exchange", "wiki",` and `"math-dataset"` configurations. This is so that it is easy to upsample particular configurations during pre-training with the `datasets.interleave_datasets()` function.
|
| 52 |
+
|
| 53 |
+
Note that in the `"stack-exchange"`, `"wiki"`, and `"stack-exchange"` configurations, multiple documents are included in them same instance separated by the string `"<|endoftext|>"`.
|
| 54 |
+
|
| 55 |
+
## Contributions
|
| 56 |
+
Authors: Zhangir Azerbayev, Edward Ayers, Bartosz Piotrowski.
|
| 57 |
+
|
| 58 |
+
We would like to thank Jeremy Avigad for his invaluable perspective and guidance, and the Hoskinson Center for Formal Mathematics for its support.
|