Uploaded July 2026 | Updated September 2026, 2 weeks ago
In listing 6.5 on page 198 of Build a Reasoning Model (From Scratch), torch.manual_seed(0) should be torch.manual_seed(5).
This correction is needed to reproduce the generated response and the corresponding log-probability outputs later in Chapter 6. Future printings will include the correction.
In listing 6.5 on page 198 of Build a Reasoning Model (From Scratch), torch.manual_seed(0) should be torch.manual_seed(5).
This correction is needed to reproduce the generated response and the corresponding log-probability outputs later in Chapter 6. Future printings will include the correction.










