MM-K12
收藏资源简介:
MM-K12是一个包含10,000个多模态数学问题的数据集,这些问题均来自K-12教育领域,并具有可验证的答案。该数据集用于训练MM-PRM模型,该模型是一个过程奖励模型,旨在通过细粒度的监督来提高多模态数学推理的能力。MM-K12数据集是通过收集和整理高质量的数学问题构建的,并使用蒙特卡洛树搜索算法自动生成了超过700,000个步骤级别的标注,无需人工标注。该数据集为多模态数学推理领域提供了一个强大的数据基础,有助于训练和评估过程奖励模型,从而提高模型的推理质量和鲁棒性。
MM-K12 is a dataset consisting of 10,000 multimodal mathematical problems, all sourced from the K-12 education domain and accompanied by verifiable answers. This dataset is used to train the MM-PRM model, a process reward model that aims to improve multimodal mathematical reasoning capabilities via fine-grained supervision. The MM-K12 dataset is constructed by collecting and curating high-quality mathematical problems, with over 700,000 step-level annotations automatically generated using the Monte Carlo Tree Search algorithm, eliminating the need for manual annotation. This dataset provides a robust data foundation for the field of multimodal mathematical reasoning, facilitating the training and evaluation of process reward models, thereby improving the reasoning quality and robustness of such models.
MM-PRM数据集概述
数据集简介
- 名称:MM-PRM
- 类型:多模态过程奖励模型(PRM)实现及训练管道
- 核心内容:OmegaPRM的完整实现,包含自动化蒙特卡洛树搜索数据管道和训练流程
- 目标:生成可扩展的高质量多模态步骤级监督数据
关键特性
-
OmegaPRM数据管道
- 基于蒙特卡洛树搜索自动生成步骤级监督数据
- 支持并行数据生成
- 包含答案验证API端点设置
-
模型发布
- MM-PRM-8B:基于InternVL系列的多模态PRM模型
- 评估指标显示在K12(领域内)和OlympiadBench(领域外)基准上均优于随机基线
数据集结构
- 种子数据格式:JSON对象需包含字段: json { "id": "唯一标识符", "question": "问题描述", "correct_answer": "正确答案", "image_path": "图像路径" }
使用流程
-
环境安装
- 依赖安装:
pip install -r requirements.txt - Flash-attn安装:版本2.3.6
- 依赖安装:
-
数据生成
- 种子数据集准备
- 运行OmegaPRM管道:
sh run_omegaprm.sh - 采样训练数据:
python traverse.py和python prm_data_format.py
-
模型训练
-
配置文件格式: json { "your-custom-prm_dataset": { "root": "图像根路径", "annotation": "标注文件路径", "data_augment": false, "repeat_time": 1, "length": "样本数量" } }
-
启动训练:
GPUS=8 sh shell/internvl2.5/2nd_finetune/internvl2_5_38b_dynamic_res_2nd_finetune_full_prm.sh
-
评估资源
- 评估代码位于
eval/目录 - 公开模型:MM-PRM-8B
相关资源
- 博客:MM-PRM-Blog
- 引用格式: bibtex @misc{MM-PRM2025, title={MM-PRM: An open implementation of OmegaPRM and its corresponding training pipeline}, author={ModalMinds Team}, year={2025}, howpublished={url{https://github.com/ModalMinds/MM-PRM}}, }




