Peek LLM

Training 03 · Backpropagation

Backpropagation

Gradient descent needs a gradient for every weight; backpropagation is how the network computes them. Send the cross-entropy error backward through the same tiny MLP and watch the chain rule hand each weight its share of the blame.

1 exhibit Computed teaching network Offline, single file