AI
NVIDIA releases 133B-token math dataset to boost LLM reasoning
Nemotron-CC-Math extracts high-quality mathematical content from web data using novel extraction techniques, outperforming prior open-source datasets.
Researchers from NVIDIA have created Nemotron-CC-Math, a large-scale mathematical pretraining dataset designed to substantially improve how language models handle mathematical and logical reasoning tasks.
The challenge with existing math datasets#
Building math datasets from web sources like Common Crawl has historically been fraught with technical obstacles. Mathematical notation appears in many different formats—MathJax, KaTeX, MathML—and converting these formats to plain text typically results in mangled equations. Crude extraction heuristics and lossy HTML parsing further degrade quality, making previously assembled datasets structurally unreliable for training purposes.
A new extraction pipeline#
NVIDIA's breakthrough centers on a novel, format-agnostic pipeline built specifically for robust extraction of scientific content from noisy web data. The approach uses layout-aware rendering via lynx combined with targeted language model cleaning to recover and standardize math across all common formats. The result preserves equation structure, removes web boilerplate, normalizes notation into LaTeX representation, and corrects inconsistencies—tasks that prior methods consistently failed at.
Dataset composition and results#
The team released two versions:
- Nemotron-CC-Math-3+: 133 billion tokens
- Nemotron-CC-Math-4+: 52 billion tokens (highest quality)
The 4+ variant contains 5.5 times more tokens than FineMath-4+, the previous benchmark for quality math pretraining data. When researchers pretrained a Nemotron-T 8B language model on this corpus, they observed:
- +4.8 to +12.6 point gains on the MATH benchmark
- +4.6 to +14.3 point gains on MBPP+ (code generation)
- Improved performance on general reasoning benchmarks (MMLU, MMLU-STEM)
Open-source availability#
To accelerate research in LLM reasoning and mathematical capabilities, NVIDIA has released both the code and the datasets openly, inviting the broader research community to build on this foundation.

