Back to Home

Transformer Attention Visualization

Interactive exploration of multi-head attention mechanisms

Attention Weights Heatmap

Token Embeddings Space

Tokenized Input

Understanding Attention Mechanisms

The attention mechanism allows the model to focus on different parts of the input sequence when processing each token. Brighter colors indicate stronger attention weights. Hover over the attention matrix to see exact values and relationships.

0
Tokens
1
Attention Heads
0.00
Max Attention
0.00
Attention Entropy