Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.
One trip from tokens through the layers to logits (and maybe to sampled text). Reverse-mode autodiff for training is the backward pass.
In one paragraph. One trip from tokens through the layers to logits (and maybe to sampled text). Reverse-mode autodiff for training is the backward pass.