← Questions

Find the planted bugs in a small Transformer training script

0
OpenAIApplied IntuitionCodingLast asked Oct 2026

A small Transformer, its training script and some tests are provided, with a few bugs hidden in them. Find and fix them so the loss goes down and the outputs are correct, and explain how each bug showed itself and how you tracked it down.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding