Dataset Viewer
Auto-converted to Parquet Duplicate
problem
string
solution
string
answer
string
problem_type
string
question_type
string
source
string
uuid
string
is_reasoning_complete
list
generations
list
correctness_math_verify
list
correctness_llama
list
finish_reasons
list
correctness_count
int64
messages
list
## Task B-1.3. A ship traveling along a river has covered $24 \mathrm{~km}$ upstream and $28 \mathrm{~km}$ downstream. For this journey, it took half an hour less than for traveling $30 \mathrm{~km}$ upstream and $21 \mathrm{~km}$ downstream, or half an hour more than for traveling $15 \mathrm{~km}$ upstream and $42 \...
## Solution. Let $t$ be the time required for the boat to travel $24 \mathrm{~km}$ upstream and $28 \mathrm{~km}$ downstream, $v_{R}$ the speed of the river, and $v_{B}$ the speed of the boat. When the boat is traveling upstream, its speed is $v_{B}-v_{R}$, and when it is traveling downstream, its speed is $v_{B}+v_{R...
v_{R}=4\mathrm{~}/\mathrm{},v_{B}=10\mathrm{~}/\mathrm{}
Algebra
math-word-problem
olympiads
586fd646-76d6-5070-8c81-9993ab9d8559
[ true, true ]
[ "<think>\nOkay, so I need to find the speed of the ship in still water and the speed of the river. Let me start by recalling that when a ship is moving upstream, its effective speed is the speed of the ship minus the speed of the river. Conversely, when moving downstream, its effective speed is the ship's speed plu...
[ true, false ]
null
null
1
[ { "content": "## Task B-1.3.\n\nA ship traveling along a river has covered $24 \\mathrm{~km}$ upstream and $28 \\mathrm{~km}$ downstream. For this journey, it took half an hour less than for traveling $30 \\mathrm{~km}$ upstream and $21 \\mathrm{~km}$ downstream, or half an hour more than for traveling $15 \\ma...
3. (6 points) A construction company was building a tunnel. When $\frac{1}{3}$ of the tunnel was completed at the original speed, they started using new equipment, which increased the construction speed by $20 \%$ and reduced the working hours to $80 \%$ of the original. As a result, it took a total of 185 days to comp...
3. (6 points) A construction company builds a tunnel. When $\frac{1}{3}$ of the tunnel is completed at the original speed, new equipment is used, increasing the construction speed by $20 \%$ and reducing the daily working hours to $80 \%$ of the original. As a result, the tunnel is completed in 185 days. If the new equ...
180
Algebra
math-word-problem
olympiads
1d57f4b3-c516-5522-91cc-a60dd91f6f66
[ true, true ]
[ "<think>\nOkay, let me try to figure out this problem. So, a construction company was building a tunnel. When 1/3 of the tunnel was completed at the original speed, they started using new equipment. This new equipment increased their construction speed by 20% and reduced their working hours to 80% of the original. ...
[ true, true ]
null
null
2
[ { "content": "3. (6 points) A construction company was building a tunnel. When $\\frac{1}{3}$ of the tunnel was completed at the original speed, they started using new equipment, which increased the construction speed by $20 \\%$ and reduced the working hours to $80 \\%$ of the original. As a result, it took a ...
"Prove that number $1$ can be represented as a sum of a finite number $n$ of real numbers, less than(...TRUNCATED)
"1. **Restate the problem in a more manageable form:**\n We need to prove that the number \\(1\\) (...TRUNCATED)
8
Number Theory
math-word-problem
aops_forum
1cd82e3d-2e7a-5eca-9571-62f5669824c4
[ true, false ]
["<think>\nOkay, so the problem is to prove that the number 1 can be represented as a sum of a finit(...TRUNCATED)
[ true, false ]
null
null
1
[{"content":"Prove that number $1$ can be represented as a sum of a finite number $n$ of real number(...TRUNCATED)
"4. Given the three sides of an obtuse triangle are 3, $4, x$, then the range of values for $x$ is ((...TRUNCATED)
$D$
D
Geometry
MCQ
cn_contest
ea24dff6-9e4d-5c55-9ec0-c4d55424997a
[ true, true ]
["<think>\nOkay, so I have this problem here where I need to find the range of values for x, given t(...TRUNCATED)
[ true, true ]
null
null
2
[{"content":"4. Given the three sides of an obtuse triangle are 3, $4, x$, then the range of values (...TRUNCATED)
"1. Solve the equation: $\\frac{8 x+13}{3}=\\frac{19-12 x}{2}-\\left(16 x-\\frac{7-4 x}{6}\\right)$.(...TRUNCATED)
"1. $\\frac{8 x+13}{3}=\\frac{19-12 x}{2}-\\left(16 x-\\frac{7-4 x}{6}\\right)$\n\n$\\frac{8 x+13}{3(...TRUNCATED)
\frac{1}{4}
Algebra
math-word-problem
olympiads
a583d65c-9b4c-56ce-8263-47edbc22baa3
[ true, true ]
["<think>\nOkay, so I need to solve this equation: (8x + 13)/3 = (19 - 12x)/2 - (16x - (7 - 4x)/6). (...TRUNCATED)
[ true, true ]
null
null
2
[{"content":"1. Solve the equation: $\\frac{8 x+13}{3}=\\frac{19-12 x}{2}-\\left(16 x-\\frac{7-4 x}{(...TRUNCATED)
"A right-angled triangle has side lengths that are integers. What could be the last digit of the are(...TRUNCATED)
"Let the lengths of the legs be $a$ and $b$, and the length of the hypotenuse be $c$. According to t(...TRUNCATED)
0
Geometry
math-word-problem
olympiads
79e837be-2801-5a6a-bc7a-0acee3cdd5fd
[ true, true ]
["<think>\nOkay, so I need to figure out the possible last digits of the area of a right-angled tria(...TRUNCATED)
[ true, true ]
null
null
2
[{"content":"A right-angled triangle has side lengths that are integers. What could be the last digi(...TRUNCATED)
"Let $a_n\\ (n\\geq 1)$ be the value for which $\\int_x^{2x} e^{-t^n}dt\\ (x\\geq 0)$ is maximal. Fi(...TRUNCATED)
"1. Define the integral \\( I_n(x) = \\int_x^{2x} e^{-t^n} \\, dt \\). We need to find the value of (...TRUNCATED)
-\ln 2
Calculus
math-word-problem
aops_forum
167ecbbb-4270-534f-afa5-75d01d968ab5
[ true, true, true, true ]
["<think>\nOkay, so I need to find the limit as n approaches infinity of the natural logarithm of a_(...TRUNCATED)
[ true, true, true, true ]
null
null
4
[{"content":"Let $a_n\\ (n\\geq 1)$ be the value for which $\\int_x^{2x} e^{-t^n}dt\\ (x\\geq 0)$ is(...TRUNCATED)
"11. Given that the internal angles $A, B, C$ of $\\triangle ABC$ have opposite sides $a, b, c$ resp(...TRUNCATED)
"(1) $\\sqrt{3} \\sin B \\cos \\frac{A+B}{2}=\\sin C \\sin B \\Rightarrow \\sqrt{3} \\sin \\frac{C}{(...TRUNCATED)
\sinA=\frac{1}{2}or\sinA=1
Geometry
math-word-problem
olympiads
84f224e8-719b-5b42-a410-27816014bdd3
[ true, true ]
["<think>\nOkay, so I have this triangle ABC, with angles A, B, C opposite sides a, b, c respectivel(...TRUNCATED)
[ true, true ]
null
[ "stop", "stop" ]
2
[{"content":"11. Given that the internal angles $A, B, C$ of $\\triangle ABC$ have opposite sides $a(...TRUNCATED)
"Task B-4.2. Let $n$ be the number obtained by writing 2013 zeros between every two digits of the nu(...TRUNCATED)
"## Solution.\n\nIf between every two digits of the number 14641 we write 2013 zeros, we get a numbe(...TRUNCATED)
x_{1,2}=\(10^{2014}+1),\quadx_{3,4}=\(10^{2014}+1)\cdoti
Algebra
math-word-problem
olympiads
f769fc87-fed5-5b73-8403-372cdd409800
[ true, true ]
["<think>\nOkay, let's see. I need to find all complex solutions to the equation x⁴ = n, where n i(...TRUNCATED)
[ false, false ]
[ true, false ]
null
1
[{"content":"Task B-4.2. Let $n$ be the number obtained by writing 2013 zeros between every two digi(...TRUNCATED)
"6. As shown in Figure 2, let $P$ be a point inside the equilateral $\\triangle ABC$ with side lengt(...TRUNCATED)
"$$\n6.11 \\sqrt{3} \\text {. }\n$$\n\nFor the equilateral $\\triangle ABC$ with a height of $12 \\t(...TRUNCATED)
11 \sqrt{3}
Geometry
math-word-problem
cn_contest
2a4c0374-d9ea-538e-8e0f-0811359d6cf6
[ true, false ]
["<think>\nOkay, let me try to solve this geometry problem. So, we have an equilateral triangle ABC (...TRUNCATED)
[ true, false ]
null
null
1
[{"content":"6. As shown in Figure 2, let $P$ be a point inside the equilateral $\\triangle ABC$ wit(...TRUNCATED)
End of preview. Expand in Data Studio

open-r1/OpenR1-Math-220k(複製)

データの内容

NuminaMath 1.5 の数学の問題 22 万件に、DeepSeek R1 が生成した推論付きの解答を付けたデータ。1 行が 1 問で、problem に問題文、generations に解答の列(問題ごとに 2〜4 本)、correctness_math_verify と correctness_llama に正誤の判定が入る。判定はほとんどが Math-Verify で、約 12% は Llama-3.3-70B-Instruct を判定者にして行った。各問題には正解の解答が少なくとも 1 本あり、Apache 2.0 で公開されている。

データの概要

項目 値
行数 450,258(3 構成・3 分割の合計)
列数 14
容量 12.65 GB(ファイル 63 本)
ファイルの形式 parquet 60
言語 en
公開 public

構成と分割

構成(config) 分割(split)ごとの行数 列数
default train 93,733 14
all train 225,129 14
extended train 131,396 14

列(構成 default・分割 train。どの構成も同じ列)

列 型 先頭の行の値
problem string ## Task B-1.3. A ship traveling along a river h…
solution string ## Solution. Let $t$ be the time required for t…
answer string v_{R}=4\mathrm{~}/\mathrm{},v_{B}=10\mathrm{~}/\…
problem_type string Algebra
question_type string math-word-problem
source string olympiads
uuid string 586fd646-76d6-5070-8c81-9993ab9d8559
is_reasoning_complete list<bool> [2 件]
generations list<string> [2 件]
correctness_math_verify list<bool> [2 件]
correctness_llama list<bool> null
finish_reasons list<string> null
correctness_count int64 1
messages list<struct{content: string, role: string}> [2 件]

行数と列は HF のデータセットビューアの集計(元のデータセットの現在の版で数えたもの)。全データセットの一覧は HYUKI5/dataset-catalog にある。

複製について

open-r1/OpenR1-Math-220k をリビジョン e4e141ec9dea9f8326f4d347be56105859b2bd68 の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(convaiinnovations/laya)の微調整に使う候補として、調査メモ(Laya 学習用データセット調査)に載せたデータを集めている。

出典

論文

  • 元のカードに論文へのリンクは見つからなかった

アノテーションの方法

データセットのキュレーション

OpenR1-Math-220k を作るため、NuminaMath 1.5 の 40 万件の問題について、SGLang を使って DeepSeek R1 モデルに解答を生成させた。生成のコードはこちらにある。モデルカードの推奨する生成パラメータに従い、ユーザーのプロンプトの前に次の指示を付け加えた:

"Please reason step by step, and put your final answer within \boxed{}."

生成ごとのトークン上限は 16k とした。分析の結果、8k トークン未満で解けたのは問題の 75% だけで、残りのほとんどは 16k トークンを全部使う必要があったためである。H100 1 基あたり毎時 25 件の解答を生成でき、512 基の H100 で 1 日に 30 万件の問題の解答を生成できた。

問題ごとに解答を 2 件(場合によっては 4 件)生成し、フィルタリングと学習で柔軟に選べるようにした。この方法は、DeepSeek R1 の手法と同様にリジェクションサンプリングを可能にし、DPO のような選好最適化の手法にも適したデータセットになる。

微調整に使うときの注意

  • 調査メモの台帳での区分: B(継承条件・gated・モデル由来の条件・上流の規約などが付く)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
  • Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
  • 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。

調査メモの記述

メモ 節 ライセンス(記載) 確認 注記
open_weight_reasoning_logs.md Q2. 同じ問題への複数サンプル・正誤の検証列・pass rate を持つ推論ログは何があるか (L51) apache-2.0 確認済 生成元モデルの出力規約が別に及ぶ(Q4) / 原文注記: 1 問の回答が 2 件中心で、回答分布としては粗い。各問題に正解が 1 件以上ある(カードの記載)ので、全部誤りの問題は無い。生成上限は 16k token で、完結しなかった回答は is_reasoning_compl

元のカード(日本語訳)

以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。


OpenR1-Math-220k

データセットの説明

OpenR1-Math-220k は、数学的推論のための大規模データセットである。NuminaMath 1.5 の問題に対して DeepSeek R1 が生成した、2〜4 本の推論の過程(トレース)を持つ 22 万件の数学の問題からなる。トレースは、ほとんどのサンプルについて Math Verify で検証し、サンプルの 12% については Llama-3.3-70B-Instruct を判定者として検証した。各問題には、正しい答えを持つ推論のトレースが少なくとも 1 本含まれる。

このデータセットは 2 つの分割からなる:

  • default: 問題 9.4 万件。SFT の後に最も良い性能を達成する。
  • extended: 13.1 万件のサンプル。cn_k12 などのデータの出典を加えた。推論のトレースは増えるが、SFT 後の性能は default の部分集合より低いことがわかった。おそらく cn_k12 の問題が他の出典より易しいためである。

次のようにデータセットを読み込める:

from datasets import load_dataset

ds = load_dataset("open-r1/OpenR1-Math-220k", "default")

データセットのキュレーション

OpenR1-Math-220k を作るため、NuminaMath 1.5 の 40 万件の問題について、SGLang を使って DeepSeek R1 モデルに解答を生成させた。生成のコードはこちらにある。モデルカードの推奨する生成パラメータに従い、ユーザーのプロンプトの前に次の指示を付け加えた:

"Please reason step by step, and put your final answer within \boxed{}."

生成ごとのトークン上限は 16k とした。分析の結果、8k トークン未満で解けたのは問題の 75% だけで、残りのほとんどは 16k トークンを全部使う必要があったためである。H100 1 基あたり毎時 25 件の解答を生成でき、512 基の H100 で 1 日に 30 万件の問題の解答を生成できた。

問題ごとに解答を 2 件(場合によっては 4 件)生成し、フィルタリングと学習で柔軟に選べるようにした。この方法は、DeepSeek R1 の手法と同様にリジェクションサンプリングを可能にし、DPO のような選好最適化の手法にも適したデータセットになる。

ライセンス

このデータセットは Apache 2.0 のもとで提供される。

原文(英語)

OpenR1-Math-220k

Dataset description

OpenR1-Math-220k is a large-scale dataset for mathematical reasoning. It consists of 220k math problems with two to four reasoning traces generated by DeepSeek R1 for problems from NuminaMath 1.5. The traces were verified using Math Verify for most samples and Llama-3.3-70B-Instruct as a judge for 12% of the samples, and each problem contains at least one reasoning trace with a correct answer.

The dataset consists of two splits:

  • default with 94k problems and that achieves the best performance after SFT.
  • extended with 131k samples where we add data sources like cn_k12. This provides more reasoning traces, but we found that the performance after SFT to be lower than the default subset, likely because the questions from cn_k12 are less difficult than other sources.

You can load the dataset as follows:

from datasets import load_dataset

ds = load_dataset("open-r1/OpenR1-Math-220k", "default")

Dataset curation

To build OpenR1-Math-220k, we prompt DeepSeek R1 model to generate solutions for 400k problems from NuminaMath 1.5 using SGLang, the generation code is available here. We follow the model card’s recommended generation parameters and prepend the following instruction to the user prompt:

"Please reason step by step, and put your final answer within \boxed{}."

We set a 16k token limit per generation, as our analysis showed that only 75% of problems could be solved in under 8k tokens, and most of the remaining problems required the full 16k tokens. We were able to generate 25 solutions per hour per H100, enabling us to generate 300k problem solutions per day on 512 H100s.

We generate two solutions per problem—and in some cases, four—to provide flexibility in filtering and training. This approach allows for rejection sampling, similar to DeepSeek R1’s methodology, and also makes the dataset suitable for preference optimisation methods like DPO.

License

The dataset is licensed under Apache 2.0

Downloads last month
77