When Should Coding Models Switch from NTP to RL? NTP Overfits Fast, RL Scales

brianryhuang · x · 2026-10-15

A technical discussion on coding-model training: how to pick the tipping point from next-token prediction (NTP) to RL. Suggested recipe: use pass@k on a forward-looking holdout of PR/issue SWE tasks plus general evals as the switch metric; midtrain/SFT data (commit diffs, issue/PR threads, fork diffs, traces) can absorb 1-2 orders of magnitude more compute than snapshot NTP before overfitting, while RL is where compute can scale unboundedly — with task synthesis as the key lever.

Related event: When Should Code Models Switch from NTP Pretraining to RL?(2 posts)→

Original post →

More from coding & agent

coding & agent channel →