Attention Lens

one encoder block · dmodel 16 · 4 heads · mock weights
Attention matrixsoftmax · mean of heads
Rows attend (query) · columns are attended to (key)
Drag to orbit · scroll to zoom · click an arc, token or layer