Math Mutator (MAMUT) 生成的数学数据集
收藏资源简介:
Math Mutator (MAMUT)是一个专门为增强数学语言模型训练和数学内容理解而设计的框架。它能够生成等价的和看似相似但实际上不等价的数学公式版本,包括数学公式数据集(MF)、数学文本数据集(MT)、命名数学公式数据集(NMF)和数学公式检索数据集(MFR)。这些数据集包含多样化的数学符号和表达式,旨在帮助模型学习理解和处理数学语言中的复杂性和多样性。
Math Mutator (MAMUT) is a framework specifically designed to enhance the training of mathematical language models and advance the comprehension of mathematical content. It can generate both equivalent variants of mathematical formulas and variants that appear similar but are actually non-equivalent, along with four dedicated datasets: Mathematical Formula Dataset (MF), Mathematical Text Dataset (MT), Named Mathematical Formula Dataset (NMF), and Mathematical Formula Retrieval Dataset (MFR). These datasets encompass a diverse range of mathematical symbols and expressions, aiming to help models learn to understand and handle the complexity and diversity present in mathematical language.
数据集概述
数据集名称
MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training
数据集简介
此数据集包含用于语言模型训练的数学公式修改框架的官方源代码,用于生成数学公式数据集,包括对原始AMPS和ARQMath数据集的预处理、公式过滤、提取和验证等。
数据集组成
- Math Formulas (MF): 高变异性数学公式
- Math Text (MT): 结合自然语言和数学公式的文本
- Named Math Formulas (NMF): 著名命名的数学公式
- Math Formula Retrieval (MFR): 公式对,带有表示相同或不同数学概念的标签
数据集获取
数据集可通过Hugging Face获取,具体地址如下:
安装说明
- 安装conda或miniconda
- 安装git
- 克隆仓库
- 创建conda环境并安装依赖
- 安装sympy-random-LaTeX
- 克隆ARQMathCode并添加到PYTHONPATH
- 验证安装
数据生成
- 下载原始数据(AMPS和ARQMATH)
- 生成Named Math Formulas (NMF)
- 生成Math Formula Retrieval (MFR)
- 生成Math Formulas (MF)
- 生成Math Text (MT)
引用
若使用此代码或提供的数据集,请引用以下论文:
bibtex @misc{drechsel2025mamutnovelframeworkmodifying, title={{MAMUT}: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training}, author={Jonathan Drechsel and Anja Reusch and Steffen Herbold}, year={2025}, eprint={2502.20855}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2502.20855}, }




