Transformer Notes
A nine-page, step-by-step derivation of the Transformer that I wrote as a CS224N teaching assistant (Stanford, Winter 2022, with Christopher Manning). Queries, keys and values; scaled dot-product and multi-head attention; the encoder and decoder layers; positional encoding; masking; residual connections and layer norm; then the whole picture. Also mentored 10+ final-project teams and held weekly office hours.