Attention Demo

Self-attention heatmaps on token sequences and ViT patch grids; Q/K/V and multi-head views.

About this tool

Visualize scaled dot-product attention on short token sequences and ViT-style patch embeddings.