Skip to content

Transformer Fundamentals

A practical guide to the architecture behind modern language models.

Topics

  • Tokenization and embeddings
  • Self-attention and positional information
  • Transformer blocks, residual streams, and normalization