Stage 1: Supervised Fine-Tuning (SFT)#
This stage turns the text-only Nemotron 3.5 Super base model into a vision-language model while building reasoning, chat, safety, long-context, and agentic skills. It runs Megatron-Bridge’s Super-VL SFT recipes.
Data: The SFT data used for Super 3.5 is not yet published. Bring your own multimodal SFT data in Energon format; results will differ from the report.
Training Methodology#
For the full methodology, see §3.1 of the Nemotron 3.5 tech report.
Two-Stage SFT#
Learning vision and text capabilities at the same time is hard, so after warming up the vision projector the report uses two SFT stages:
Stage |
Blend |
Recipe config |
|---|---|---|
SFT stage 1 |
General mix of vision, reasoning, chat, long-context, safety, and agentic data |
|
SFT stage 2 |
Small second stage with a re-weighted blend that boosts capabilities stage 1 did not learn adequately |
|
The report fine-tunes the language and vision components jointly. The recipe freezes the vision encoder by default; see Freeze Controls.
Data Domains#
Domain |
Highlights |
|---|---|
Vision |
Nemotron 3 Nano Omni corpus (charts, tables, OCR, multi-page documents, grounding, GUI, video), plus data generated with open models such as Qwen3.5 |
Agentic vision |
Image tool use (crop, rotate, zoom, flip on high-resolution images) generated with Kimi K2.6 and K3; SpatialClaw video-agent demonstrations generated with Kimi K2.6 |
Reasoning |
Nemotron 3 Ultra problem sets (math, STEM, coding, proofs), regenerated with Kimi K3 (math, STEM), DeepSeek V4 Pro (proofs), and GLM-5.2 (competitive programming) |
Chat and safety |
Nemotron 3 Ultra recipe with chat responses refreshed from recent Qwen, Kimi, and Gemma models, plus extra dual-risk CBRNE and demographic-bias safety data. |
Long context |
512K-token Nemotron 3 Ultra long-context data, synthetic graph-tracing data, long-horizon search and coding agent trajectories, long-document translation (PG19 and FinePDFs-Edu documents translated in chunks with DeepSeek V4 Flash), synthetic transduction tasks, and multi-page vision documents of up to hundreds of pages. |
Finance agent |
SEC filing search, document parsing, and evidence retrieval trajectories from the same NeMo Gym environment used for RL. |
Vision. The generated data covers chart understanding, grounded perception, multi-hop reasoning, GUI/web navigation, and multimodal coding. Reasoning traces are organized as concise steps, each grounded in visual evidence, and filtered for unsupported questions, hallucinated values, and unproductive self-correction. A chart-understanding version of this pipeline is published as a NeMo Data Designer recipe.
Agentic vision. The SpatialClaw set has 14,169 executable trajectories with 81,366 assistant actions that inspect frames, run SAM3 segmentation, and reconstruct scene geometry before answering. On 20 spatial and video benchmarks with the SpatialClaw harness, agentic-vision training raises the average from 50.5 (no agentic-vision training) to 54.8 (+4.3, Table 7).
Reasoning. Math and STEM data include chain-of-thought and tool-integrated trajectories; responses shorter than 5,000 tokens are removed. Unlike the DeepSeek V4 Pro traces used for Nemotron 3 Ultra, which plateaued after one pass, the Kimi K3 traces kept improving over multiple passes.
Reasoning Modes#
SFT introduces the three reasoning modes the model supports: reasoning-off, regular, and medium-effort (§3.9). Medium-effort data comes from Kimi K3’s low-effort mode and is optimized further in RL. Following the Nemotron 3 Ultra recipe, a small fraction of SFT samples have reasoning traces truncated to random budgets (with </think> masked from the loss) so the model can follow inference-time budget control.
Hyperparameters#
Values from the report (§3.1); the recipe defaults differ (see Configurations):
Parameter |
Value |
|---|---|
Packed sequence length |
524,288 tokens |
Global batch size |
32 packed sequences |
Learning rate |
Warm up over ~9,100 original records to 1e-5, then constant |
Optimizer |
Adam, β₁ = 0.9, β₂ = 0.95, weight decay 0.1 |
Gradient clipping |
1.0 |
MTP |
Two shared-weight MTP layers, auxiliary loss scale 0.3 |
Decontamination#
Post-training data is checked against 30 benchmarks with a four-step pipeline: normalize each sample to its problem statement, retrieve candidates by n-gram and embedding overlap, verify each candidate pair with an LLM judge, and remove severely contaminated samples. It removed 20,671 samples (about 0.09%; 14,793 SFT and 5,878 RL), matching 1,808 benchmark questions (6.0%) in 22 of the 30 benchmarks. On synthetic contamination of Terminal-Bench 2.1 and GPQA Diamond questions, the judge caught 87.5% and 79.1% of contaminated variants while flagging one distractor. The report says the pipeline will be released as part of NeMo Curator.
Recipe Execution#
Quick Start#
// Import your SFT data as artifacts
$ uv run nemotron super35 data import sft /path/to/sft_stage1_data
$ uv run nemotron super35 data import sft /path/to/sft_stage2_data --name super35-sft-stage2-data
// SFT stage 1
$ uv run nemotron super35 sft --run YOUR-CLUSTER
// SFT stage 2 (continues from the stage-1 checkpoint)
$ uv run nemotron super35 sft -c stage2 --run YOUR-CLUSTER
// LoRA instead of full fine-tuning
$ uv run nemotron super35 sft -c peft --run YOUR-CLUSTER
// Smoke test
$ uv run nemotron super35 sft -c tiny --run YOUR-CLUSTER
Direct Script Execution (Megatron-Bridge)#
For direct execution outside this CLI, use the launcher in the Megatron-Bridge repository. It submits the same Megatron-Bridge recipes as this stage to Slurm (set --account, --partition and --container-image, or SLURM_ACCOUNT, SLURM_PARTITION and CONTAINER_IMAGE):
git clone https://github.com/NVIDIA-NeMo/Megatron-Bridge.git
cd Megatron-Bridge
# Convert the released checkpoint first (see Starting Checkpoint); the report's SFT
# starts from the Base model (nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-Base-BF16)
# SFT on 8 × 8 H100 (the verified layout)
./scripts/training/train.sh --wait --nodes 8 --gpus-per-node 8 \
--recipe nemotron_35_super_vl_sft_64gpu_h100_bf16_config --mode sft \
--pretrained_checkpoint /path/to/super35-megatron/iter_0000000 \
--max_steps 200 --save_interval 100 --save_dir /path/to/checkpoints \
dataset.path=/path/to/energon_dataset
# LoRA on 2 × 8 H100
./scripts/training/train.sh --wait --nodes 2 --gpus-per-node 8 \
--recipe nemotron_35_super_vl_peft_16gpu_h100_bf16_config --mode lora \
--pretrained_checkpoint /path/to/super35-megatron/iter_0000000 \
--max_steps 500 --save_interval 250 --save_dir /path/to/lora_checkpoints \
dataset.path=/path/to/energon_dataset
The released checkpoint must be converted to Megatron format once before training; see Starting Checkpoint.
This repository’s default and peft configs use these two recipes through the aliases nemotron_35_super_vl_sft_config and nemotron_35_super_vl_peft_config. The two-stage sequence is specific to this repository: run stage 2 as a second --mode sft job from the stage-1 checkpoint on your stage-2 data.
To continue with this repository’s RL stage, register the final Megatron checkpoint with nemotron super35 model import sft. No Hugging Face export is needed: the RL runner converts Megatron checkpoints to Hugging Face on first use.
uv run nemotron super35 model import sft /path/to/checkpoints
For other uses that need a Hugging Face checkpoint, such as evaluation with vLLM, export it:
./scripts/conversion/convert.sh export --executor slurm --device gpu --nodes 1 --gpus-per-node 4 \
--hf-model nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-BF16 \
--megatron-path /path/to/checkpoints --hf-path /path/to/super35-sft-hf \
--torch-dtype bfloat16 --tp 1 --pp 2 --ep 2 --etp 1 --trust-remote-code --distributed-save
See the Megatron-Bridge Super-VL guide for the exact verified commands, expected losses, and the GB200 variants.
Data#
nemotron super35 data import sft registers an existing, already-prepared multimodal SFT dataset as an artifact (super35-sft-data by default; pass --name super35-sft-stage2-data for the stage-2 blend). Megatron-Bridge’s Super-VL recipes read Megatron-Energon WebDatasets through the Omni task encoder (image and video; no audio). The Megatron-Bridge verification runs use a DataComp image-caption subset in Energon format.
Configurations#
Config |
Megatron-Bridge recipe |
Purpose |
Input → output artifact |
|---|---|---|---|
|
|
SFT stage 1; Megatron-Bridge verified H100 layout (8 × 8 H100, TP2 / PP2 / EP32, seq 4096, GBS 1280, 200 steps) |
|
|
|
SFT stage 2: 100-step constant-LR continuation (10 warm-up steps) on a re-balanced blend, same layout as |
|
|
|
LoRA, rank 32 / alpha 32, language-model-only targets; TP4 / PP2 / EP8 on 16 H100 GPUs |
|
|
|
Text-only 128K-token SFT on 128 GB200 GPUs (CP32 ring attention, EP64); the recipe builds its own dataset. Not yet verified in Megatron-Bridge |
|
|
|
10-step smoke test on the full 8-node layout |
|
The report does not publish stage-2 steps or LR; tune stage2 for your data.
super35-sft-model (the stage-2 output) is what RL starts from. For the report’s production settings (512K packed sequences, GBS 32, LR 1e-5), see the comments at the top of config/default.yaml; they need the full SFT blend and long-sequence packing.
PEFT export: standalone HF adapter export does not preserve the trained router expert-bias buffers. Reload natively and merge into the full model before exporting to Hugging Face.
Megatron-Bridge Verification#
Recipe |
Hardware |
Setup |
Result |
|---|---|---|---|
SFT |
64 × H100 |
DataComp image-caption, seq 4096, GBS 1280 |
200 steps, loss 3.38 → 1.96 |
SFT |
64 × GB200 |
DataComp image-caption, seq 4096, GBS 1280 |
200 steps, loss 3.43 → 1.93 |
LoRA |
16 × H100 |
rank 32, alpha 32, GBS 16 |
500 steps, merged HF reload and bounded image generation passed |
LoRA |
16 × GB200 |
rank 32, alpha 32, GBS 16 |
500 steps, merged HF reload and bounded image generation passed |
Long-context SFT |
— |
— |
Not yet verified |
These runs use a public image-caption set to validate recipe mechanics. They cover image-caption training, not video training or convergence, and they do not reproduce the report’s SFT blend. For LoRA, not all of Megatron-Bridge’s stronger post-merge numerical checks pass. stage2 uses the same recipe and layout as default but has not been run separately.
Freeze Controls#
The Megatron-Bridge model provider has independent freeze switches. The standard SFT recipe freezes the vision encoder and trains the language model and projector:
Setting |
Component |
SFT default |
|---|---|---|
|
Language decoder and its language-side weights |
|
|
C-RADIO vision tower, including image and temporal-video embedding paths |
|
|
Vision-to-language projector |
|
Other useful policies:
Policy |
Language model |
Vision model |
Projector |
|---|---|---|---|
Language only |
train |
freeze |
freeze |
Language + projector (default) |
train |
freeze |
train |
Projector only |
freeze |
freeze |
train |
Full multimodal |
train |
train |
train |
# Language-only SFT
uv run nemotron super35 sft --run YOUR-CLUSTER \
model.freeze_vision_model=true \
model.freeze_vision_projection=true
Freezing a base component does not stop LoRA from placing adapters inside it: adapter placement is controlled by peft.target_modules. The PEFT recipes use language-model-qualified target patterns (decoder and MTP, excluding vision_model and vision_projection); keep that qualification in custom PEFT configs if you want language-only adapters.
Artifact Lineage#
%%{init: {'theme': 'base', 'themeVariables': { 'primaryBorderColor': '#333333', 'lineColor': '#333333', 'primaryTextColor': '#333333'}}}%%
flowchart LR
pre["super35-pretrain-model<br/>(or imported checkpoint)"] --> s1["sft (stage 1)"]
data["super35-sft-data"] --> s1
s1 --> m1["super35-sft-stage1-model"]
m1 --> s2["sft -c stage2"]
data2["super35-sft-stage2-data"] --> s2
s2 --> m2["super35-sft-model"]
m2 --> rl["super35 rl rlvr"]
style s1 fill:#f3e5f5,stroke:#9c27b0
style s2 fill:#f3e5f5,stroke:#9c27b0
To start RL from an SFT checkpoint you already have:
uv run nemotron super35 model import sft /path/to/sft_checkpoint
Infrastructure#
Component |
Role |
Documentation |
|---|---|---|
Super-VL SFT, PEFT, and long-context recipes |
||
Distributed training primitives |
||
Synthetic vision and Indic data generation in the report |
Container#
Like pretraining, the SFT configs use the NeMo 26.08 container (nvcr.io/nvidia/nemo:26.08) with a pinned Megatron-Bridge commit mounted through ${auto_mount:...}, which requires the Slurm executor.
Next Steps#
After SFT completes, proceed to Stage 2: RL.
Reference#
Nemotron 3.5 tech report, §3.1 (SFT), §3.9 (reasoning modes), §3.12 (decontamination)
Megatron-Bridge — Super-VL recipes and freeze controls
Artifact Lineage — W&B artifact system
Recipe Source:
src/nemotron/recipes/super35/stage1_sft/— Implementation details