OpenWebMath:一个高质量数学网页文本的开放数据集
OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text
AI总结:
OpenWebMath是一个从Common Crawl提取的包含147亿数学网页词元的开放数据集,通过忠实保留数学符号的提取与过滤方法,训练出的14亿参数模型在推理任务上优于使用20倍通用数据训练的模型。
摘要:
越来越多的证据表明,在高质量、精心设计的词元(如代码或数学文本)上进行预训练,对于提升大型语言模型的推理能力起着重要作用。例如,Minerva(一个在来自arXiv和网页的数十亿数学文档词元上微调的PaLM模型)在需要定量推理的问题上报告了显著提升的性能。然而,由于所有已知的开源网页数据集都采用了不能忠实保留数学符号的预处理方法,大规模定量网页文档训练的好处无法惠及研究社区。我们推出了OpenWebMath,一个受这些工作启发、包含来自Common Crawl的147亿个数学网页词元的开放数据集。我们详细描述了从HTML文档中提取文本和LaTeX内容、去除样板文件的方法,以及我们的质量过滤和去重方法。此外,我们通过训练14亿参数的语言模型在OpenWebMath上进行小规模实验,结果表明,在我们的数据集上训练的模型(使用147亿词元)超越了在超过20倍数量的通用语言数据上训练的模型的性能。我们希望这个在Hugging Face Hub上公开发布的数据集,将有助于推动大型语言模型推理能力的进步。
英文摘要:
There is growing evidence that pretraining on high quality, carefully thought-out tokens such as code or mathematics plays an important role in improving the reasoning abilities of large language models. For example, Minerva, a PaLM model finetuned on billions of tokens of mathematical documents from arXiv and the web, reported dramatically improved performance on problems that require quantitative reasoning. However, because all known open source web datasets employ preprocessing that does not faithfully preserve mathematical notation, the benefits of large scale training on quantitive web documents are unavailable to the research community. We introduce OpenWebMath, an open dataset inspired by these works containing 14.7B tokens of mathematical webpages from Common Crawl. We describe in detail our method for extracting text and LaTeX content and removing boilerplate from HTML documents, as well as our methods for quality filtering and deduplication. Additionally, we run small-scale experiments by training 1.4B parameter language models on OpenWebMath, showing that models trained on 14.7B tokens of our dataset surpass the performance of models trained on over 20x the amount of general language data. We hope that our dataset, openly released on the Hugging Face Hub, will help spur advances in the reasoning abilities of large language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。