Skip to content

Glossary: Transformers Basics

Self-attention

Attention where the queries, keys and values all come from the same sequence, so the sequence attends to itself.

Where the book teaches it

Related terms

AttentionCross-attentionCausal mask