The useful mental model
The transformer made sequence processing highly parallelizable and became the backbone of modern language models. Attention is a mechanism for mixing information, not a proof of understanding.
Put it to work
When debugging long prompts, inspect where the needed evidence appears and whether the model actually uses it.
Watch for
More tokens increase compute and can dilute relevant evidence, even before a context limit is reached.
Go to the source.
These notes are an independent interpretation. Read the original research or documentation for methods and updates.
Attention Is All You Need ↗