Follow the signal through self-attention
Select a step to inspect the numbers
01 / Input token vectors
Each token starts with a small illustrative vector.
Attention weight chart
How much the selected token attends to each position.
Weights update when the score controls change. Hover or focus a bar to inspect its value.
Make the numbers yours
Change the illustrative scaled scores. Softmax weights and the weighted output recalculate immediately.
Inspect the Value vectors
These simple 2D Value vectors are for teaching. Their weighted sum changes with the attention weights.