InfraLens

Lab 07: Training Loop and Cross Entropy Loss

This folder contains annotated reading material for the lab page.

Reading focus

Connect next-token prediction to shifted labels and cross entropy over the vocabulary.

Source of truth

Running code is optional. The expected outcome is that you can explain the mechanism, the relevant state/shape, the common misunderstanding, and the interview answer.