sagelearnai

Attention, in Plain Words

Attention is the one idea you most need to understand about Transformers. It answers a simple question for every token: "which other tokens should I pay attention to, and how much?"

In this lesson

  • An analogy: a soft dictionary lookup
  • Self-attention, step by step
  • Why it's called self-attention
  • Many heads, many relationships
  • What attention costs

This lesson is part of AI Engineering. Unlock the full course to read it, take the quiz and track your progress.

See plans →

Last reviewed 2026-11-05.