Course map · S1 How LLMs work · Episode 4 of 12
Attention
Lesson complete
Attention
The rule to keep
Send the model what it needs, not everything you have: every extra token competes for attention and adds cost.
1 / 13
Lesson notes
Attention lets every token weigh the tokens before it, so meaning comes from context, but every extra token competes for that attention and adds cost.
Decision rule
Send the model what it needs, not everything you have: every extra token competes for attention and adds cost.
Ideas in this lesson
- Vectors
- Attention