HYUKI5's picture
nvidia/AceMath-RM-Training-Data@da52f493c8ab を複製し、カードを日本語で書く
5f0c7d9 verified
|
Raw History Blame Contribute Delete
15.6 kB
---
license: cc-by-nc-4.0
pretty_name: nvidia/AceMath-RM-Training-Data (mirror)
source_datasets:
- nvidia/AceMath-RM-Training-Data
tags:
- laya
- laya-finetune
- mirror
- domain-math
- use-noncommercial
- genre-dialogue
- label-binary
- annot-llm
- lang-en
language:
- en
---
# nvidia/AceMath-RM-Training-Data(複製)
## データの内容
数学の解答の正誤を報酬モデルに学ばせるための、AceMath の学習データ。1 行が 1 件の会話(system・user・assistant)で、`message` に問題と解答、`label`(1 は良い、0 は誤り)が入っている。問題は重複を除いて約 35.6 万題で、1 題につき 6 種類の応答がある。調査メモでは NC(非商用)とされる。
## データの概要
| 項目 | 値 |
|---|---|
| 行数 | 2,136,348(1 構成・1 分割の合計) |
| 列数 | 3 |
| 容量 | 3.69 GB(ファイル 13 本) |
| ファイルの形式 | arrow 8、json 2、png 1 |
| 言語 | en |
| 公開 | public |
### 構成と分割
| 構成(config) | 分割(split)ごとの行数 | 列数 |
|---|---|---:|
| `default` | `train` 2,136,348 | 3 |
### 列(構成 `default`・分割 `train`)
| 列 | 型 | 先頭の行の値 |
|---|---|---|
| `qid` | `string` | `mcq_acemath_0` |
| `message` | `list<struct{content: string, role: string}>` | `[3 件]` |
| `label` | `int64` | `1` |
行数と列は HF のデータセットビューアの集計(元のデータセットの現在の版で数えたもの)。全データセットの一覧は [HYUKI5/dataset-catalog](https://huggingface.co/datasets/HYUKI5/dataset-catalog) にある。
## 複製について
[`nvidia/AceMath-RM-Training-Data`](https://huggingface.co/datasets/nvidia/AceMath-RM-Training-Data) をリビジョン `da52f493c8abd606d8987cff4cd53e4f84b5000a` の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(`convaiinnovations/laya`)の微調整に使う候補として、調査メモ(`Laya 学習用データセット調査`)に載せたデータを集めている。
## 出典
- 元のデータセット: https://huggingface.co/datasets/nvidia/AceMath-RM-Training-Data
- 複製したリビジョン: `da52f493c8abd606d8987cff4cd53e4f84b5000a`(2025-01-17 07:30:42+00:00)
- 元のライセンス表記: `cc-by-nc-4.0`
## 論文
- https://arxiv.org/abs/2412.15084
## アノテーションの方法
(元のカードに該当の見出しが無いので、ラベルの付け方に触れた段落を抜き出した)
*報酬モデルの評価([AceMath-RewardBench](https://huggingface.co/datasets/nvidia/AceMath-RewardBench))。数学ベンチマークにおける報酬モデルの平均結果(rm@8)。64 個の候補から 8 個の応答を無作為に抽出する操作を 100 通りの乱数シードで行う。応答候補は 8 種類の LLM のプールから生成されたもの。
**ライセンス**
AceMath RM の学習データセットは非商用に限る。OpenAI が生成したデータの [利用規約](https://openai.com/policies/row-terms-of-use/) に従う。このデータセットは [Creative Commons Attribution: Non-Commercial 4.0 International](https://spdx.org/licenses/CC-BY-NC-4.0) のもとで公開する。
## 微調整に使うときの注意
- 調査メモの台帳での区分: C(NC・ND・研究専用・評価専用など、商用の利用を妨げうる記載がある)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
- Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
- 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。
## 調査メモの記述
| メモ | 節 | ライセンス(記載) | 確認 | 注記 |
|---|---|---|---|---|
| `nvidia_nemotron.md` | Q1. 報酬・選好・正誤・安全のラベルを持つ Nemotron 系データのうち、判断に変換できるものはどれか (L46) | cc-by-nc-4.0(NC) | 確認済 | 確認印なし(各ファイルの凡例により確認済扱い) / 原文注記: NC。数学のみ |
## 元のカード(日本語訳)
以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。
---
[ウェブサイト](https://research.nvidia.com/labs/adlr/acemath/) | [論文](https://arxiv.org/abs/2412.15084)
## AceMath RM 学習データのカード
数学の結果に対する報酬モデリングのために AceMath-7/72B-RM を学習させた、AceMath RM の学習データを公開する。データの統計は以下のとおり:
- 数学の問題の数(重複なし): 356,058
- 事例の数: 2,136,348(各問題に 6 種類の異なる応答がある)
## ベンチマークの結果(AceMath-Instruct + AceMath-72B-RM)
<p align="center">
<img src="./acemath-pic.png" alt="AceMath Benchmark Results" width="800">
</p>
上の表で、AceMath を主要な独自モデルと公開モデルの数学モデルと比較している。AceMath-7B-Instruct は、さまざまな数学の推論ベンチマークで従来最良の Qwen2.5-Math-7B-Instruct を大きく上回る(平均 pass@1 で 67.2 対 62.9)。10 倍大きい Qwen2.5-Math-72B-Instruct の性能(67.2 対 68.2)に近い。特に AceMath-72B-Instruct は、最先端の Qwen2.5-Math-72B-Instruct(71.8 対 68.2)、GPT-4o(67.4)、Claude 3.5 Sonnet(65.6)を大きく上回る。また、報酬モデル AceMath-72B-RM による rm@8 の正解率(8 個のうち最良)も報告する。これは、これらの推論ベンチマークで新たな記録である。ただし、推論時の計算量を増やすことに依存する OpenAI の o1 モデルは除いている。
## 報酬モデルのベンチマークの結果
| Model | GSM8K | MATH500 | Minerva Math | GaoKao 2023 En | Olympiad Bench | College Math | MMLU STEM | Avg. |
|---------------------------|-------|---------|--------------|----------------|-----------------|--------------|-----------|--------|
| majority@8 | 96.22 | 83.11 | 41.20 | 68.21 | 42.69 | 45.01 | 78.21 | 64.95 |
| Skywork-o1-Open-PRM-Qwen-2.5-7B | 96.92 | 86.64 | 41.00 | 72.34 | 46.50 | 46.30 | 74.01 | 66.24 |
| Qwen2.5-Math-RM-72B | 96.61 | 86.63 | 43.60 | 73.62 | 47.21 | 47.29 | 84.24 | 68.46 |
| AceMath-7B-RM (本研究) | 96.66 | 85.47 | 41.96 | 73.82 | 46.81 | 46.37 | 80.78 | 67.41 |
| AceMath-72B-RM (本研究) | 97.23 | 86.72 | 45.06 | 74.69 | 49.23 | 46.79 | 87.01 | 69.53 |
*報酬モデルの評価([AceMath-RewardBench](https://huggingface.co/datasets/nvidia/AceMath-RewardBench))。数学ベンチマークにおける報酬モデルの平均結果(rm@8)。64 個の候補から 8 個の応答を無作為に抽出する操作を 100 通りの乱数シードで行う。応答候補は 8 種類の LLM のプールから生成されたもの。
## 使い方
```python
from datasets import load_dataset
# Load the dataset from Hugging Face Hub
dataset = load_dataset("nvidia/AceMath-RM-Training-Data")
# Print the first example
print(dataset['train'][0])
"""
{
# Unique key for the question
'qid': '...',
# Conversation between system, user and assistant
'message': [
{
# System prompt setting up the conversation context
'role': 'system',
'content': '...'
},
{
# User's math question (truncated in example)
'role': 'user',
'content': "..."
},
{
# Assistant's step-by-step solution (truncated in example)
'role': 'assistant',
'content': "..."
}
],
# Binary score indicating solution (1 = correct/good, 0 = incorrect/poor)
'label': 1
}
"""
```
## すべてのリソース
### AceMath 指示応答モデル
- [AceMath-1.5B-Instruct](https://huggingface.co/nvidia/AceMath-1.5B-Instruct), [AceMath-7B-Instruct](https://huggingface.co/nvidia/AceMath-7B-Instruct), [AceMath-72B-Instruct](https://huggingface.co/nvidia/AceMath-72B-Instruct)
### AceMath 報酬モデル
- [AceMath-7B-RM](https://huggingface.co/nvidia/AceMath-7B-RM), [AceMath-72B-RM](https://huggingface.co/nvidia/AceMath-72B-RM)
### 評価・学習データ
- [AceMath-RewardBench](https://huggingface.co/datasets/nvidia/AceMath-RewardBench), [AceMath-Instruct Training Data](https://huggingface.co/datasets/nvidia/AceMath-Instruct-Training-Data), [AceMath-RM Training Data](https://huggingface.co/datasets/nvidia/AceMath-RM-Training-Data)
### 汎用の指示応答モデル
- [AceInstruct-1.5B](https://huggingface.co/nvidia/AceInstruct-1.5B), [AceInstruct-7B](https://huggingface.co/nvidia/AceInstruct-7B), [AceInstruct-72B](https://huggingface.co/nvidia/AceInstruct-72B)
## 連絡先
Zihan Liu (zihanl@nvidia.com), Yang Chen (yachen@nvidia.com), Wei Ping (wping@nvidia.com)
## 引用
本研究が役に立った場合は、引用していただけるとありがたい。
<pre>
@article{acemath2024,
title={AceMath: Advancing Frontier Math Reasoning with Post-Training and Reward Modeling},
author={Liu, Zihan and Chen, Yang and Shoeybi, Mohammad and Catanzaro, Bryan and Ping, Wei},
journal={arXiv preprint},
year={2024}
}
</pre>
## ライセンス
AceMath RM の学習データセットは非商用に限る。OpenAI が生成したデータの [利用規約](https://openai.com/policies/row-terms-of-use/) に従う。このデータセットは [Creative Commons Attribution: Non-Commercial 4.0 International](https://spdx.org/licenses/CC-BY-NC-4.0) のもとで公開する。
<details>
<summary>原文(英語)</summary>
[website](https://research.nvidia.com/labs/adlr/acemath/) | [paper](https://arxiv.org/abs/2412.15084)
## AceMath RM Training Data Card
We release the AceMath RM Training data that is used to train the AceMath-7/72B-RM for math outcome reward modeling. Below is the data statistics:
- number of unique math questions: 356,058
- number of examples: 2,136,348 (each questions have 6 different responses)
## Benchmark Results (AceMath-Instruct + AceMath-72B-RM)
<p align="center">
<img src="./acemath-pic.png" alt="AceMath Benchmark Results" width="800">
</p>
We compare AceMath to leading proprietary and open-access math models in above Table. Our AceMath-7B-Instruct, largely outperforms the previous best-in-class Qwen2.5-Math-7B-Instruct (Average pass@1: 67.2 vs. 62.9) on a variety of math reasoning benchmarks, while coming close to the performance of 10× larger Qwen2.5-Math-72B-Instruct (67.2 vs. 68.2). Notably, our AceMath-72B-Instruct outperforms the state-of-the-art Qwen2.5-Math-72B-Instruct (71.8 vs. 68.2), GPT-4o (67.4) and Claude 3.5 Sonnet (65.6) by a margin. We also report the rm@8 accuracy (best of 8) achieved by our reward model, AceMath-72B-RM, which sets a new record on these reasoning benchmarks. This excludes OpenAI’s o1 model, which relies on scaled inference computation.
## Reward Model Benchmark Results
| Model | GSM8K | MATH500 | Minerva Math | GaoKao 2023 En | Olympiad Bench | College Math | MMLU STEM | Avg. |
|---------------------------|-------|---------|--------------|----------------|-----------------|--------------|-----------|--------|
| majority@8 | 96.22 | 83.11 | 41.20 | 68.21 | 42.69 | 45.01 | 78.21 | 64.95 |
| Skywork-o1-Open-PRM-Qwen-2.5-7B | 96.92 | 86.64 | 41.00 | 72.34 | 46.50 | 46.30 | 74.01 | 66.24 |
| Qwen2.5-Math-RM-72B | 96.61 | 86.63 | 43.60 | 73.62 | 47.21 | 47.29 | 84.24 | 68.46 |
| AceMath-7B-RM (Ours) | 96.66 | 85.47 | 41.96 | 73.82 | 46.81 | 46.37 | 80.78 | 67.41 |
| AceMath-72B-RM (Ours) | 97.23 | 86.72 | 45.06 | 74.69 | 49.23 | 46.79 | 87.01 | 69.53 |
*Reward model evaluation on [AceMath-RewardBench](https://huggingface.co/datasets/nvidia/AceMath-RewardBench). The average results (rm@8) of reward models on math benchmarks, randomly sample 8 responses from 64 candidates with 100 random seeds. Response candidates are generated from a pool of 8 LLMs.
## How to use
```python
from datasets import load_dataset
# Load the dataset from Hugging Face Hub
dataset = load_dataset("nvidia/AceMath-RM-Training-Data")
# Print the first example
print(dataset['train'][0])
"""
{
# Unique key for the question
'qid': '...',
# Conversation between system, user and assistant
'message': [
{
# System prompt setting up the conversation context
'role': 'system',
'content': '...'
},
{
# User's math question (truncated in example)
'role': 'user',
'content': "..."
},
{
# Assistant's step-by-step solution (truncated in example)
'role': 'assistant',
'content': "..."
}
],
# Binary score indicating solution (1 = correct/good, 0 = incorrect/poor)
'label': 1
}
```
## All Resources
### AceMath Instruction Models
- [AceMath-1.5B-Instruct](https://huggingface.co/nvidia/AceMath-1.5B-Instruct), [AceMath-7B-Instruct](https://huggingface.co/nvidia/AceMath-7B-Instruct), [AceMath-72B-Instruct](https://huggingface.co/nvidia/AceMath-72B-Instruct)
### AceMath Reward Models
- [AceMath-7B-RM](https://huggingface.co/nvidia/AceMath-7B-RM), [AceMath-72B-RM](https://huggingface.co/nvidia/AceMath-72B-RM)
### Evaluation & Training Data
- [AceMath-RewardBench](https://huggingface.co/datasets/nvidia/AceMath-RewardBench), [AceMath-Instruct Training Data](https://huggingface.co/datasets/nvidia/AceMath-Instruct-Training-Data), [AceMath-RM Training Data](https://huggingface.co/datasets/nvidia/AceMath-RM-Training-Data)
### General Instruction Models
- [AceInstruct-1.5B](https://huggingface.co/nvidia/AceInstruct-1.5B), [AceInstruct-7B](https://huggingface.co/nvidia/AceInstruct-7B), [AceInstruct-72B](https://huggingface.co/nvidia/AceInstruct-72B)
## Correspondence to
Zihan Liu (zihanl@nvidia.com), Yang Chen (yachen@nvidia.com), Wei Ping (wping@nvidia.com)
## Citation
If you find our work helpful, we’d appreciate it if you could cite us.
<pre>
@article{acemath2024,
title={AceMath: Advancing Frontier Math Reasoning with Post-Training and Reward Modeling},
author={Liu, Zihan and Chen, Yang and Shoeybi, Mohammad and Catanzaro, Bryan and Ping, Wei},
journal={arXiv preprint},
year={2024}
}
</pre>
## License
AceMath-RM training dataets are for non-commercial use only, subject to [Terms of Use](https://openai.com/policies/row-terms-of-use/) of the data generated by OpenAI. We put this dataset under the license of [Creative Commons Attribution: Non-Commercial 4.0 International](https://spdx.org/licenses/CC-BY-NC-4.0).
</details>