Observe step 4 and 5 below: Raw dot products measure similarity between tokens, and Softmax turns them into positive percentage weights summing to 1.0.
Follow the token cat through all five steps: embeddings โ Q, K, V โ attention scores โ scaling and softmax โ weighted sum.
What is Attention Scores? Why does it exist? Where does it appear in Self-Attention?
Draw or describe a visual model of Attention Scores. What does it look like conceptually?
Work through a concrete manual example of Attention Scores with real numbers or pseudocode.
Implement Attention Scores from scratch in Python. Keep it minimal โ just enough to see it work.
Try Attention Scores on a real example. Vary the inputs and observe what changes.
How is Attention Scores different from related concepts in Self-Attention? What are the trade-offs?
Explain Attention Scores in plain language using an analogy. Could a non-expert follow it?
Build a small project or demo that uses Attention Scores as a core component.
agent/state_tracker.py
๐ full plan โ