Commit ·
14e07a8
0
Parent(s):
Duplicate from nvidia/Nemotron-Math-v2
Browse filesCo-authored-by: Felipe Soares <soarescmsa@users.noreply.huggingface.co>
Files changed (13)
- .gitattributesAdded+61
- README.mdAdded+185
- data/.gitattributesAdded+1
- data/high.part_00.jsonlAdded+3
- data/high.part_01.jsonlAdded+3
- data/high.part_02.jsonlAdded+3
- data/high_part00.parquetAdded+3
- data/high_part01.parquetAdded+3
- data/high_part02.parquetAdded+3
- data/low.jsonlAdded+3
- data/low.parquetAdded+3
- data/medium.jsonlAdded+3
- data/medium.parquetAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.lz4 filter=lfs diff=lfs merge=lfs -text*.mds filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text# Audio files - uncompressed*.pcm filter=lfs diff=lfs merge=lfs -text*.sam filter=lfs diff=lfs merge=lfs -text*.raw filter=lfs diff=lfs merge=lfs -text# Audio files - compressed*.aac filter=lfs diff=lfs merge=lfs -text*.flac filter=lfs diff=lfs merge=lfs -text*.mp3 filter=lfs diff=lfs merge=lfs -text*.ogg filter=lfs diff=lfs merge=lfs -text*.wav filter=lfs diff=lfs merge=lfs -text# Image files - uncompressed*.bmp filter=lfs diff=lfs merge=lfs -text*.gif filter=lfs diff=lfs merge=lfs -text*.png filter=lfs diff=lfs merge=lfs -text*.tiff filter=lfs diff=lfs merge=lfs -text# Image files - compressed*.jpg filter=lfs diff=lfs merge=lfs -text*.jpeg filter=lfs diff=lfs merge=lfs -text*.webp filter=lfs diff=lfs merge=lfs -text# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text*.jsonl filter=lfs diff=lfs merge=lfs -text*.jsonl.gz filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185---language:- enlicense:- cc-by-4.0- cc-by-sa-4.0task_categories:- text-generationtags:- mathematical-reasoning- tool-use- long-contextconfigs:- config_name: default data_files: - split: high_part00 path: data/high_part00.parquet - split: high_part01 path: data/high_part01.parquet - split: high_part02 path: data/high_part02.parquet - split: medium path: data/medium.parquet - split: low path: data/low.parquet---
# Nemotron-Math-v2
This repository contains the dataset accompanying the paper [Nemotron-Math: Efficient Long-Context Distillation of Mathematical Reasoning from Multi-Mode Supervision](https://arxiv.org/abs/2512.15489).
Code: [NeMo-Skills](https://github.com/NVIDIA-NeMo/Skills)
Documentation: [NeMo-Skills Nemotron-Math-v2 Documentation](https://nvidia-nemo.github.io/Skills/releases/nemotron-math-v2/)
## Dataset Description
Nemotron-Math-v2 is a large-scale mathematical reasoning dataset containing approximately 347K high-quality mathematical problems and 7M model-generated reasoning trajectories. The dataset integrates human-authored problem sets with systematically generated solution traces produced under multiple reasoning modes and tool-use configurations.
Each problem is solved multiple times by the [gpt-oss-120b](https://huggingface.co/openai/gpt-oss-120b) model under six settings (high/medium/low reasoning × with/without Python TIR). Answers are verified using an LLM-as-a-judge pipeline, and trivial or unreliable problems are removed through pass-rate filtering. Only solutions whose final answers match the verified reference are included, resulting in a challenging, clean, and high-quality dataset suitable for training and evaluating mathematical reasoning systems.
All components of the pipeline, including problem extraction and data generation, are implemented using [NeMo-Skills](https://github.com/NVIDIA-NeMo/Skills). For detailed information, please refer to the **[official documentation](https://nvidia-nemo.github.io/Skills/releases/nemotron-math-v2/)**.<br><br>This dataset is ready for commercial use.
## Dataset Owner(s):NVIDIA Corporation
## Dataset Creation Date:Created on: Dec 3, 2025 Last Modified on: Dec 18, 2025
## License/Terms of Use: The Math GPT-OSS AOPS dataset is governed by the [Creative Commons Attribution 4.0 International License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). The Math GPT-OSS StackOverflow and MathGenSelect datasets are governed by the [Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)](https://creativecommons.org/licenses/by/4.0/).
## Intended Usage:This dataset is intended for:* Training LLMs to perform structured mathematical reasoning
* Studying tool-augmented reasoning vs. pure language reasoning
* Building long-context or multi-trajectory reasoning systems
* Evaluating LLM reasoning robustness and solution diversity
* Research on reasoning modes, error patterns, and verification pipelines
### Dataset Composition and Generation#### Problem Extraction
This dataset is constructed from AoPS and StackExchange-Math forums, but we do not use raw posts directly. Because forum threads contain discussion, commentary, and sometimes multiple or incomplete questions, we first use an LLM to perform problem extraction, isolating explicit mathematical problem statements from the original threads. Each extracted problem is then passed through a series of LLM-based classifiers to determine whether it is a proof-style question, a multiple-choice question, a binary yes/no question, or an invalid or context-dependent prompt; all such items are removed. For questions originally posed in proof format, we apply a proof-to-answer transformation that attempts to rewrite them into answer-based tasks while preserving conceptual difficulty, whereas for non-proof questions we attempt to extract the final answer from the discussion rather than the full solution. We further perform benchmark decontamination by removing problems that overlap with public math datasets. Although our pipeline includes a proof-conversion step, we ultimately discard all converted proof questions, as our goal is to retain only problems that admit clearly verifiable final answers. The final dataset therefore consists solely of nontrivial, high-quality mathematical problems.
##### AoPS Subset
The AoPS subset is derived from the [OpenMathReasoning](https://huggingface.co/datasets/nvidia/OpenMathReasoning) dataset, originally sourced from the Art of Problem Solving (AoPS) community.
**Characteristics:**- Competition-style problems across algebra, geometry, number theory, and combinatorics - Proof-style questions removed to ensure answer verifiability - Difficulty filtering removes problems too easily solved by the model - Final subset size: **~85K problems** with validated reference answers
##### StackExchange-Math Subset
The StackExchange-Math Subset consists of problems collected from [Math StackExchange](https://math.stackexchange.com/) and [MathOverflow](https://mathoverflow.net/), covering a wide range from undergraduate-level to research-oriented topics.
**Characteristics:**- Proof-style questions filtered via an LLM classifier - Decontaminated to avoid overlap with public benchmarks - Difficulty filtering removes trivial items - Final subset size: **~262K problems**
---
#### Reasoning Trace Generation A unified pipeline is used to generate solution traces for all problems.
##### Reasoning ConfigurationsEach problem is solved under **six configurations**:- Reasoning depth: high, medium, low - Tool usage: with Python TIR, without Python TIR
##### Sampling- **8 solutions per configuration** using different random seeds - Temperature = 1.0, top-p = 1.0
##### Answer Verification
Reference answers are established through the following procedure:
- If a problem includes an extracted answer from the forum (AoPS, or StackExchange), the answer is retained only if at least one of the 16 high-reasoning model-generated solutions (8 with Python TIR, 8 without) produces a final answer judged consistent with it.- If no extracted answer is available, or if all model-generated solutions disagree with the extracted answer, the reference answer is replaced with the majority vote among the 16 high-reasoning model outputs.
##### Filtering- Problems with a pass rate above 0.8 under low-reasoning settings are removed - Incorrect solutions are discarded via automated LLM-judge evaluation
##### Final OutputThe final dataset contains approximately **7.0M filtered reasoning trajectories** (from the original ~7.5M trajectories), reflecting diverse reasoning strategies, tool interactions, and long-form solution patterns.
#### Dataset fields
OpenMathReasoning dataset contains the following fields:
- **problem**: Problem statement derived from [OpenMathReasoning](https://huggingface.co/datasets/nvidia/OpenMathReasoning), and [Math StackExchange](https://math.stackexchange.com/) and [MathOverflow](https://mathoverflow.net/). - **messages**: user and assistant turns in standardized messages format for LLM training.- **expected_answer**: Extracted answer if "problem_type" is "has_answer_extracted". Otherwise this is the majority-voting answer across all generated solutions for this problem."changed_answer_to_majority": true, or false, this label is set to `true` only if an extracted forum answer existed and was replaced by the majority-vote answer from the high-reasoning model solutions (i.e., when all model-generated solutions disagreed with the extracted answer). Otherwise, it is `false` (including cases with no forum answer).- **metadata**: pass rates on different reasoning regimes and tool usage (list)- **data_source**: AoPS or StackExchange-Math- **tool**: empty for rows without available tools, python tool definition for rows with tool available.- **url**: ‘the hyperlink of the question- **user_url**: ‘the hyperlink of the user- **user_name**: user name of the questions
## Dataset Characterization**Data Collection Method** Hybrid: Automated, Synthetic
## Dataset FormatModality: Text Format: JSONL Structure: Text + Metadata
## Reference(s):Link to [paper](https://arxiv.org/abs/2512.15489).
BibTeX for citation:```bibtex@article{du2025nemotronmath, title = {Nemotron-Math: Efficient Long-Context Distillation of Mathematical Reasoning from Multi-Mode Supervision}, author = {Du, Wei and Toshniwal, Shubham and Kisacanin, Branislav and Mahdavi, Sadegh and Moshkov, Ivan and Armstrong, George and Ge, Stephen and Minasyan, Edgar and Chen, Feng and Gitman, Igor}, journal = {arXiv preprint arXiv:2512.15489}, year = {2025}}```
## Dataset Quantification
| Subset | Samples ||--------|---------|| low | 1,718,159 || medium | 2,502,305 || high | 2,865,375 || Total | 7,085,839 |
Total Disk Size: ~143GB
## Ethical Considerations:NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/)1*.parquet filter=lfs diff=lfs merge=lfs -text123version https://git-lfs.github.com/spec/v1oid sha256:461876d3d9c4ec026c43f25d15be82282b44aa00417c77b0060dab7c75769841size 37959585454123version https://git-lfs.github.com/spec/v1oid sha256:5b278d90018c25d0f3b7a9a58f8876544b3bf722d97991c14fed2202889d2331size 37921740650123version https://git-lfs.github.com/spec/v1oid sha256:46b99003c978e501f3f8e5bca05334fec5b1321963c8f1a931b7f931c726e9dfsize 37836018603123version https://git-lfs.github.com/spec/v1oid sha256:0ac5a2f57368e7550b0d1055f4d0d8a8c72a1de0d2ef003b826acd46c5d35191size 12616958052123version https://git-lfs.github.com/spec/v1oid sha256:5b3edc3c7947d392b5a5c4909b7d31c7838e3f3172e5927f7954ee297e009713size 12498606334123version https://git-lfs.github.com/spec/v1oid sha256:c3ceae7931c8fb3e90af85b295e00b6da0e5084fc9f2d1bc4080069639240189size 12569842869123version https://git-lfs.github.com/spec/v1oid sha256:cd6c59dd7b0ed686c0a02bdf651d4c6261abe3e09131152409a5ccbd72b02d30size 10575854252123version https://git-lfs.github.com/spec/v1oid sha256:b06641733ac260a905e26a7f17ddeb0f3a39a106c5e3ff24694a0d96b1c666dcsize 3119784927123version https://git-lfs.github.com/spec/v1oid sha256:78e962bd0348b0450c7593d406bb7076eb411ad2851ef32aa1812c80372dcdffsize 29951057211123version https://git-lfs.github.com/spec/v1oid sha256:35961cad61b00bac50f715f4606b4fc9ce148a7839b74a0ebfbf7d9d3e2cd9b6size 9521952650.gitattributesAdded+61
README.mdAdded+185
data/.gitattributesAdded+1
data/high.part_00.jsonlAdded+3
data/high.part_01.jsonlAdded+3
data/high.part_02.jsonlAdded+3
data/high_part00.parquetAdded+3
data/high_part01.parquetAdded+3
data/high_part02.parquetAdded+3
data/low.jsonlAdded+3
data/low.parquetAdded+3
data/medium.jsonlAdded+3
data/medium.parquetAdded+3