# Nemotron-Pretraining-Code-v1

- **ID:** 87
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/nvidia/Nemotron-Pretraining-Code-v1
- **Authors:** NVIDIA
- **Venue:** Hugging Face / NVIDIA
- **Published:** 2025
- **Source:** huggingface
- **Language:** 11 programming languages (for synthetic code QA); source code from GitHub in many languages
- **Access:** restricted
- **License:** NVIDIA Data Agreement for Model Training (model training use only)
- **License family:** Restricted terms (auto-classified)
- **Topics:** Code / Software Engineering
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/87

## Summary

Nemotron-Pretraining-Code-v1 is a large-scale curated source-code dataset mined from GitHub, processed through multi-stage filtering including license-based removal (BigCode-inspired, with a stricter license set), exact and fuzzy deduplication, and heuristic quality filters from OpenCoder, with all files annotated with metadata to guide filtering. It additionally includes large-scale synthetic code question-answer data in 11 programming languages generated by prompting LLMs (Mixtral-8x22B) on curated code snippets, solving generated problems, and filtering for correctness, producing diverse natural-language-code pairs for pretraining.

## Attributes

- **Purpose:** Provide a large-scale curated source-code pretraining dataset and synthetic code question-answer pairs for training code-capable LLMs.
- **Scale:** 747.4B-token curated code dataset (metadata released to reproduce); 174.9B tokens synthetic code generated with Mixtral-8x22B-v0.1
- **Used for:** Pretraining code capabilities of NVIDIA Nemotron Nano 2 models; code LLM training
- **Time period:** 2025 release
- **Author type:** mixed

## From the source (fetched 2026-10-03)

- **Repository:** nvidia/Nemotron-Pretraining-Code-v1 (Hugging Face)
- **Created:** Aug 14, 2025 (Hugging Face)
- **Last updated:** Dec 23, 2025 (Hugging Face)
- **Downloads (last month):** 2,614 (Hugging Face)
- **Likes:** 80 (Hugging Face)
- **Size:** 100M to 1B rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation (Hugging Face)
- **Formats:** parquet (Hugging Face)
- **Gated:** yes (Hugging Face)

## Research notes

- Gated; requires NVIDIA Data Agreement acceptance. Part of the Nemotron pretraining dataset (arxiv 2508.14444). Combines real GitHub source code (human) with synthetic code QA (AI-generated via Mixtral-8x22B).

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [CLM-v0.1-Pretrain-Nemotron (60M Nemotron DQA state-action pairs)](https://papers.projxon.ai/entries/1021) (dataset, #1021)
- [Nemotron-CC-v2 (Nemotron Pre-Training Dataset v1)](https://papers.projxon.ai/entries/418) (dataset, #418)
- [BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?](https://papers.projxon.ai/entries/777) (paper, #777)
- [Nemotron-Pretraining-SFT-v1](https://papers.projxon.ai/entries/86) (dataset, #86)
- [Effective Strategies for Asynchronous Software Engineering Agents](https://papers.projxon.ai/entries/1238) (paper, #1238)
