Priming Base Models for Agentic Post-Training: An Open Midtraining Recipe
TL;DR - This paper presents an open midtraining recipe that prepares base models for agentic post-training using long-context software-engineering data and limited agent traces. Applied to two Nemotron 3.5 models, it improves coding-agent performance and robustness while avoiding excessively long supervised fine-tuning.
- Trains at 256K context for hundreds of billions of tokens on repositories, pull requests, commit histories, build logs, and a small proportion of agentic traces.
- With identical downstream SFT, 500B midtraining tokens raise Nemotron 3.5 Lightning from 60.7 to 64.5 on SWE-bench Verified and from 55.8 to 62.8 on SWE-bench Multilingual.
- For Nemotron 3.5 Super, 280B tokens improve DeepSWE from 11.7 to 15.7 and SWE-bench Verified from 72.9 to 74.3.
- The authors evaluate recipes through short, fixed SFT runs because base-model proxy metrics did not reliably predict post-training results.