Interactive token attention mapping & scaled dot-product computation
Each word token is projected into three vectors: Query (what am I looking for?), Key (what info do I hold?), and Value (the actual token content).
Calculating $Q \cdot K^T / \sqrt{d_k}$ measures token compatibility. Softmax normalizes these scores into a valid probability distribution summing to 1.0.
Multiple attention heads run concurrently. One head tracks pronouns (e.g. "it" → "animal"), while others capture grammar, verbs, or prepositional phrases.