A real Transformer running in your browser, small enough that every number is on screen. Follow one input through each matrix product, softmax and LayerNorm to a prediction, then watch backpropagation and Adam train all 227 weights. Built from the model in my M.S. defense.
What's inside
② One matrix product, entry by entry
Et, d4 = −0.77 + −0.06 + −0.23 + bias = −0.35
⑤ Attention, after training
Head 1: the survey moment puts 98.8% of its weight on t−45, which is what the warming-trend term of the rule needs.
⑬ Training, 55 epochs
Validation accuracy 66% → 98.3% · “Warming afternoon”: Warm 19% → 99.6%
Real numbers from the module's own model · 227 weights · predicts Cool / Neutral / Warm