Keiran Paster commited on
Commit
1fa5e96
1 Parent(s): 99d8b0b

update readme

Browse files
Files changed (1) hide show
  1. README.md +38 -12
README.md CHANGED
@@ -15,16 +15,45 @@ dataset_info:
15
  num_examples: 6315233
16
  download_size: 16370689925
17
  dataset_size: 56651995057
 
 
 
 
 
 
 
 
18
  ---
19
  # <img align="left" width="50" height="50" src="imgs/openwebmath_logo.png" style="margin-top: -12px; margin-bottom: 0px;"> OpenWebMath
20
 
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
 
 
 
28
  **Table 1:** Most Common Domains in OpenWebMath by Character Count
29
  | Domain | # Characters | % Characters |
30
  |-----------------------|--------------|--------------|
@@ -38,16 +67,6 @@ Our aim with OpenWebMath was to build a dataset of as many mathematical document
38
  | groundai.com | 545,214,990 | 1.12% |
39
  | blogspot.com | 520,392,333 | 1.07% |
40
  | mathoverflow.net | 499,102,560 | 1.02% |
41
- | gmatclub.com | 442,611,169 | 0.91% |
42
- | gamedev.net | 426,478,461 | 0.88% |
43
- | ac.uk | 402,111,665 | 0.83% |
44
- | aimsciences.org | 344,716,386 | 0.71% |
45
- | mathhelpforum.com | 319,215,756 | 0.65% |
46
- | deepai.org | 313,512,520 | 0.64% |
47
- | libretexts.org | 282,014,149 | 0.58% |
48
- | readthedocs.io | 269,816,413 | 0.55% |
49
- | tib.eu | 199,714,017 | 0.41% |
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">
@@ -59,4 +78,11 @@ Our aim with OpenWebMath was to build a dataset of as many mathematical document
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.
 
 
 
 
 
 
 
 
15
  num_examples: 6315233
16
  download_size: 16370689925
17
  dataset_size: 56651995057
18
+ license: odc-by
19
+ task_categories:
20
+ - text-generation
21
+ language:
22
+ - en
23
+ pretty_name: OpenWebMath
24
+ size_categories:
25
+ - 10B<n<100B
26
  ---
27
  # <img align="left" width="50" height="50" src="imgs/openwebmath_logo.png" style="margin-top: -12px; margin-bottom: 0px;"> OpenWebMath
28
 
29
 
30
+ **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*.
31
+
32
+ Important Links:
33
+ - [ArXiv Paper](...)
34
+ - [GitHub Repository](...)
35
+ - [Paper Twitter Thread](...)
36
+
37
+ ### Citation Information
38
+
39
+ ```
40
+ @article{openwebmath,
41
+ title={OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text},
42
+ author={Keiran Paster and Marco Dos Santos and Zhangir Azerbayev and Jimmy Ba},
43
+ journal={arXiv preprint arXiv:????.?????},
44
+ eprint={????.?????},
45
+ eprinttype = {arXiv},
46
+ url={https://arxiv.org/abs/????.?????},
47
+ year={2023}
48
+ }
49
+ ```
50
 
51
  ## Dataset Contents
52
 
53
  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.
54
 
55
+ We provide automatically collected annotations for the source `url`, `timestamp` of the crawl and various information regarding the webpage and the text extraction.
56
+
57
  **Table 1:** Most Common Domains in OpenWebMath by Character Count
58
  | Domain | # Characters | % Characters |
59
  |-----------------------|--------------|--------------|
 
67
  | groundai.com | 545,214,990 | 1.12% |
68
  | blogspot.com | 520,392,333 | 1.07% |
69
  | mathoverflow.net | 499,102,560 | 1.02% |
 
 
 
 
 
 
 
 
 
 
70
 
71
  **Figure 1:** Content Distribution of OpenWebMath by Type and Subject
72
  <img src="imgs/contents_pie_chart.png" alt="Content Distribution of OpenWebMath by Type and Subject">
 
78
 
79
  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.
80
 
81
+ 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. Please find more information about the processing pipeline in the paper.
82
+
83
+ ## License
84
+
85
+ OpenWebMath is made available under an ODC-By 1.0 license; users should also abide by the CommonCrawl ToU: [https://commoncrawl.org/terms-of-use/](https://commoncrawl.org/terms-of-use/). We do not alter the license of any of the underlying data.
86
+
87
+ ## Contact
88
+ Keiran Paster ([keirp@cs.toronto.edu](mailto:keirp@cs.toronto.edu)) & Marco Dos Santos ([mjad3@cam.ac.uk](mailto:mjad3@cam.ac.uk))