Hard

Debug a broken GPT training notebook containing NaNs, a mask bug, and shifted labels

Research Engineering & Debugging · Problem 5 of 8

Chapter 17Research Engineering & Debugging

Debug a broken GPT training notebook containing NaNs, a mask bug, and shifted labels

HardProblem 5 / 8

Debug a broken GPT training notebook containing NaNs, a mask bug, and shifted labels.

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints