Keiran Paster
commited on
Commit
•
99d8b0b
1
Parent(s):
7e35f5a
add pipeline
Browse files- README.md +11 -2
- imgs/pipeline.png +3 -0
README.md
CHANGED
@@ -21,7 +21,7 @@ dataset_info:
|
|
21 |
|
22 |
**OpenWebMath** is a dataset containing the majority of the high-quality, mathematical text from the internet. It is filtered and extracted from over 200B HTML files on Common Crawl down to a set of 6.3 million documents containing 14.7B tokens. OpenWebMath is intended for use in *pretraining and finetuning large language models*.
|
23 |
|
24 |
-
## Contents
|
25 |
|
26 |
Our aim with OpenWebMath was to build a dataset of as many mathematical documents sourced from the web as possible while preserving the formatting of mathematical content such as LaTeX equations. OpenWebMath contains documents from over 130k different domains, ranging from forums, educational and reference content, and blogs. The dataset contains documents covering mathematics, physics, statistics, computer science, and more.
|
27 |
|
@@ -50,4 +50,13 @@ Our aim with OpenWebMath was to build a dataset of as many mathematical document
|
|
50 |
| mit.edu | 198,487,362 | 0.41% |
|
51 |
|
52 |
**Figure 1:** Content Distribution of OpenWebMath by Type and Subject
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
**OpenWebMath** is a dataset containing the majority of the high-quality, mathematical text from the internet. It is filtered and extracted from over 200B HTML files on Common Crawl down to a set of 6.3 million documents containing 14.7B tokens. OpenWebMath is intended for use in *pretraining and finetuning large language models*.
|
23 |
|
24 |
+
## Dataset Contents
|
25 |
|
26 |
Our aim with OpenWebMath was to build a dataset of as many mathematical documents sourced from the web as possible while preserving the formatting of mathematical content such as LaTeX equations. OpenWebMath contains documents from over 130k different domains, ranging from forums, educational and reference content, and blogs. The dataset contains documents covering mathematics, physics, statistics, computer science, and more.
|
27 |
|
|
|
50 |
| mit.edu | 198,487,362 | 0.41% |
|
51 |
|
52 |
**Figure 1:** Content Distribution of OpenWebMath by Type and Subject
|
53 |
+
<img src="imgs/contents_pie_chart.png" alt="Content Distribution of OpenWebMath by Type and Subject">
|
54 |
+
|
55 |
+
## Dataset Pipeline
|
56 |
+
|
57 |
+
**Figure 2:** OpenWebMath Pipeline
|
58 |
+
<img src="imgs/pipeline.png" alt="Overview of the OpenWebMath Pipeline">
|
59 |
+
|
60 |
+
OpenWebMath builds on the massive Common Crawl dataset, which contains over 200B HTML documents. We filtered the data to only include documents that are: (1) in English, (2) contain mathematical content, and (3) are of high quality. We also put a strong emphasis on extracting LaTeX content from the HTML documents as well as reducing boilerplate in comparison to other web datasets.
|
61 |
+
|
62 |
+
As shown in Figure 2, the processing pipeline for OpenWebMath falls into five stages. First, we apply a prefilter to all HTML documents in Common Crawl to quickly judge whether they have mathematical content, skipping those that do not before doing the extensive processing needed to extract text and equations and remove boilerplate. Second, we extract the text, including mathematical content, from the HTML documents. Third, we apply language identification filters, perplexity-based quality filtering, and a mathematical content classifier filter. Fourth, we deduplicate the dataset using SimHash. Finally, we manually inspect the documents gathered in the previous steps and view documents from the most popular domains by document-count and character-count, removing domains that are not high quality.
|
imgs/pipeline.png
ADDED
![]() |
Git LFS Details
|