Inside the Block: FFN, Residuals, Normalization

The other half of the transformer block: feed-forward networks, the residual stream, and why normalization placement matters.

Content last verified 2026-09.

Lessons

  1. The Feed-Forward Network
  2. The Residual Stream
  3. LayerNorm, RMSNorm, and Where They Sit
  4. Assembling the Block

Sources