Anatomy of a Minimal SFT Trainer: Every Decision

Why hand-write an SFT loop when TRL trains in one line? Seven decisions in a minimal trainer, checked against textbooks and production frameworks.

August 28, 2026 · 15 min · 3076 words · njx