-
Notifications
You must be signed in to change notification settings - Fork 21
/
index.html
346 lines (296 loc) · 14.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description"
content="Generative AI for Math: Part I MATHPILE: A Billion-Token-Scale Pretraining Corpus for Math">
<meta name="keywords" content="Math, Language Models, NLP, Reasoning">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Generative AI for Math: Part I MATHPILE: A Billion-Token-Scale Pretraining Corpus for Math</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PYVRSFMDRL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-PYVRSFMDRL');
</script>
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro"
rel="stylesheet">
<link rel="stylesheet" href="./static/css/bulma.min.css">
<link rel="stylesheet" href="./static/css/bulma-carousel.min.css">
<link rel="stylesheet" href="./static/css/bulma-slider.min.css">
<link rel="stylesheet" href="./static/css/fontawesome.all.min.css">
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
<link rel="stylesheet" href="./static/css/index.css">
<link rel="icon" href="./static/images/mathpile-logo-1.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script defer src="./static/js/fontawesome.all.min.js"></script>
<script src="./static/js/bulma-carousel.min.js"></script>
<script src="./static/js/bulma-slider.min.js"></script>
<script src="./static/js/index.js"></script>
</head>
<body>
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu">
<div class="navbar-start" style="flex-grow: 1; justify-content: center;">
<a class="navbar-item" href="https://github.com/GAIR-NLP/">
<span class="icon">
<i class="fas fa-home"></i>
</span>
</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
More Research
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://github.com/GAIR-NLP/abel">
Abel
</a>
</div>
</div>
</div>
</div>
</nav>
<section class="hero">
<div class="hero-body">
<div class="container is-max-desktop">
<div class="columns is-centered">
<div class="column has-text-centered">
<h1 class="title is-1 publication-title">Generative AI for Math: <i>MathPile</i></h1>
<div class="is-size-5 publication-authors">
<span class="author-block">
<a href="https://scholar.google.com/citations?user=qLS4f-8AAAAJ&hl=en">Zengzhi Wang</a><sup>3,4</sup>,</span>
<span class="author-block">
<a href="https://scholar.google.com/citations?user=Znde6gwAAAAJ&hl=en">Rui Xia</a><sup>3</sup>,</span>
<span class="author-block">
<a href="https://plms.ai/people/index.html">Pengfei Liu</a><sup>1,2,4</sup>
</span>
<!-- <span class="author-block">
<a href="http://sofienbouaziz.com">Sofien Bouaziz</a><sup>2</sup>,
</span>
<span class="author-block">
<a href="https://www.danbgoldman.com">Dan B Goldman</a><sup>2</sup>,
</span>
<span class="author-block">
<a href="https://homes.cs.washington.edu/~seitz/">Steven M. Seitz</a><sup>1,2</sup>,
</span>
<span class="author-block">
<a href="http://www.ricardomartinbrualla.com">Ricardo Martin-Brualla</a><sup>2</sup>
</span> -->
</div>
<div class="is-size-5 publication-authors">
<span class="author-block"><sup>1</sup>Shanghai Jiao Tong University,</span>
<span class="author-block"><sup>2</sup>Shanghai Artificial Intelligence Laboratory,</span>
<span class="author-block"><sup>3</sup>Nanjing University of Science and Technology,</span>
<span class="author-block"><sup>4</sup>Generative AI Research Lab (GAIR)</span>
</div>
<div class="column has-text-centered">
<div class="publication-links">
<!-- PDF Link. -->
<span class="link-block">
<a href="https://huggingface.co/papers/2312.17120" target="_blank"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fas fa-file-pdf"></i>
</span>
<span>Paper</span>
</a>
</span>
<span class="link-block">
<a href="https://arxiv.org/abs/2312.17120" target="_blank"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="ai ai-arxiv"></i>
</span>
<span>arXiv</span>
</a>
</span>
<!-- Video Link. -->
<!-- <span class="link-block">
<a href="https://www.youtube.com/watch?v=MrKrnHhk8IA"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-youtube"></i>
</span>
<span>Video</span>
</a>
</span> -->
<!-- Code Link. -->
<span class="link-block">
<a href="https://github.com/GAIR-NLP/MathPile" target="_blank"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>Code</span>
</a>
</span>
<!-- Dataset Link. -->
<span class="link-block">
<a href="https://huggingface.co/datasets/GAIR/MathPile" target="_blank"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="far fa-images"></i>
</span>
<span>Datasets</span>
</a>
</span>
<!-- Twitter Link. -->
<span class="link-block">
<a href="https://twitter.com/_akhaliq/status/1740571256234057798" target="_blank"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-twitter"></i>
</span>
<span>Twitter by AK</span>
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container is-max-desktop">
<!-- Abstract. -->
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">🚀 Brief Introduction</h2>
<div class="content has-text-justified">
<p>
High-quality, large-scale corpora are the cornerstone of building powerful foundation models. In this work, we introduce <b>MathPile</b> a diverse and high-quality math-centric corpus comprising about 9.5 billion tokens. our work is significantly different from the previous work in the following characteristics:
</p>
<div align="center">
<img src="static/images/mathpile-features.png" width=55%/>
</div>
<ul>
<li><b>Math-centric: </b>MathPile uniquely caters to the math domain, unlike general domain-focused corpora like Pile and RedPajama, or multilingual-focused ones like ROOTS and The Stack. While there are math-centric corpora, they're often either closed-sourced, like Google's Minerva and OpenAI's MathMix, or lack diversity, such as ProofPile and OpenWebMath.</li>
<li><b>Diversity: </b>MathPile draws from a wide range of sources: <b>Textbooks</b> (including lecture notes), <b>arXiv</b>, <b>Wikipedia</b>, <b>ProofWiki</b>, <b>StackExchange</b>, and <b>Web Pages</b>. It encompasses mathematical content suitable for K-12, college, postgraduate levels, and math competitions. <b>This diversity is a first, especially with our release of a significant collection of high-quality textbooks (~0.19B tokens).</b></li>
<li><b>High-Quality: </b>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, cleaning, filtering, and deduplication, ensuring the high quality of our corpus. </li>
<li><b>Data Documentation: </b>To enhance transparency, we've extensively documented MathPile. This includes a <b>dataset sheet</b> (see Table 5 in our paper) and <b>quality annotations</b> for web-sourced documents, like language identification scores and symbol-to-word ratios. This gives users flexibility to tailor the data to their needs. We've also performed <b>data contamination detection</b> to eliminate duplicates from benchmark test sets like MATH and MMLU-STEM.</li>
</ul>
<div align="center">
<img src="static/images/mathpile-overview.png" width=90%/>
</div>
<p>
We hope our MathPile can help to enhance the mathematical reasoning abilities of language models. See our paper for more technical details.
</p>
</div>
</div>
</div>
<!--/ Abstract. -->
<!-- Paper video. -->
<!-- <div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">Video</h2>
<div class="publication-video">
<iframe src="https://www.youtube.com/embed/MrKrnHhk8IA?rel=0&showinfo=0"
frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</div>
</div>
</div> -->
<!--/ Paper video. -->
</div>
</section>
<section class="hero is-light is-small">
<div class="hero-body">
<div class="container">
<div id="results-carousel" class="carousel results-carousel">
<div class="item item-fullbody">
<img src="./static/images/stackexchange-case.png" >
</div>
<div class="item item-steve">
<img src="./static/images/arXiv-case.png">
</div>
<div class="item item-chair-tp">
<img src="./static/images/cc-textbooks.png">
</div>
<div class="item item-fullbody">
<!-- <video poster="" id="fullbody" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/fullbody.mp4"
type="video/mp4">
</video> -->
<img src="./static/images/stackexchange-case.png" >
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container is-max-desktop">
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">👊Statements & License</h2>
<div class="content has-text-justified">
<p>
These invaluable corpora are the culmination of human intellect and should be utilized for the betterment of humanity, aiding in the improvement of human life. <b>We strongly urge all users to refrain from using our corpus for any activities that may harm national or social security or violate the law.</b>
</p>
<p>
We have done our utmost to ensure the high quality and lawful use of the data. However, unforeseen issues may still arise, including but not limited to data security concerns and any risks or problems stemming from misuse. We shall not be held responsible for any such issues.
</p>
<p>
If the source data of MathPile is governed by a license more restrictive than <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en">BY-NC-SA 4.0 license</a>, MathPile adheres to that stricter licensing. In all other cases, it operates under the <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en">BY-NC-SA 4.0 license</a>. We also plan to release a commercially usable version of the dataset soon.
</p>
</div>
</div>
</div>
</div>
</section>
<section class="section" id="BibTeX">
<div class="container is-max-desktop content">
<h2 class="title">BibTeX</h2>
<pre><code>
@article{wang2023mathpile,
title={Generative AI for Math: Part I -- MathPile: A Billion-Token-Scale Pretraining Corpus for Math},
author={Wang, Zengzhi and Xia, Rui and Liu Pengfei},
journal={arXiv preprint arXiv:2312.17120},
year={2023}
}</code></pre>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="content has-text-centered">
<a class="icon-link"
href="https://huggingface.co/papers/2312.17120">
<i class="fas fa-file-pdf"></i>
</a>
<a class="icon-link" href="https://github.com/GAIR-NLP/MathPile" class="external-link" disabled>
<i class="fab fa-github"></i>
</a>
</div>
<div class="columns is-centered">
<div class="column is-8">
<div class="content">
<p>
This website is licensed under a <a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/">Creative
Commons Attribution-ShareAlike 4.0 International License</a>.
</p>
<p>
This means you are free to borrow the <a
href="https://github.com/nerfies/nerfies.github.io">source code</a> of this website,
we just ask that you link back to this page in the footer.
Please remember to remove the analytics code included in the header of the website which
you do not want on your website.
</p>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>