TemplateGSM Dataset
收藏资源简介:
The TemplateGSM dataset is a novel and extensive collection containing over 7 million (up to infinite) grade school math problems with code solutions and natural language solutions designed for advancing the study and application of mathematical reasoning within the realm of language modeling and AI. This dataset is crafted to challenge and evaluate the capabilities of language models in understanding and generating solutions to mathematical problems derived from a set of 7473 predefined problem templates using examples from the GSM8K dataset as prototypes. Each template encapsulates a unique mathematical problem structure, offering a diverse array of challenges that span various domains of mathematics.
TemplateGSM数据集是一项新颖且规模可观的基准数据集,包含超过700万道(最多可至无限道)中小学数学题,配套代码解法与自然语言解法,旨在推动语言建模与人工智能领域内数学推理方向的研究与应用发展。该数据集以GSM8K数据集的示例为原型,构建了7473个预定义问题模板,所有配套数学题均源自这些模板,其核心目标为挑战并评估语言模型理解与生成数学题解法的能力。每个模板均封装了独特的数学问题结构,可提供覆盖数学各细分领域的多样化挑战。
TemplateGSM Dataset概述
数据集描述
- TemplateGSM 是一个包含超过700万(至无限)小学数学问题的数据集,旨在推动语言模型和AI在数学推理领域的研究和应用。
- 该数据集基于7473个预定义的问题模板,每个模板代表一个独特的数学问题结构,涵盖多个数学领域。
数据集目标
- 评估语言模型在数学推理和符号计算方面的能力。
- 训练和微调语言模型,以提高生成准确和逻辑严密的数学解决方案的能力。
- 促进开发能够理解和解决复杂数学问题的模型,缩小自然语言处理与数学推理之间的差距。
数据集结构
- 配置:
- templategsm-1000-1k:包含1000个模板,每个模板生成1000个问题,总计超过100万个问题。
- templategsm-2000-1k:包含2000个模板,每个模板生成1000个问题,总计200万个问题。
- templategsm-4000-1k:包含4000个模板,每个模板生成1000个问题,总计400万个问题。
- templategsm-7473-1k:包含7473个模板,每个模板生成1000个问题,总计超过747万个问题。
数据字段
problem:问题陈述。solution_code:解决问题的Python代码。result:问题的最终答案。solution_wocode:无代码的自然语言解决方案。source:问题生成的数据源和种子信息。template_id:生成问题的模板ID。problem_id:模板内每个问题的唯一索引。
使用方法
- 通过Huggingface的
datasets库加载特定配置的数据集。
许可证
- 数据集遵循Creative Commons Attribution 4.0 International (CC BY 4.0)许可证。




