EasyConceptTransformers and attention
What is self-attention in one paragraph?
What a good answer covers
Each token is projected into a query, key and value. Attention scores come from query-key dot products, are scaled and passed through softmax, and are used to take a weighted sum of values, so each token's output mixes information from relevant tokens.
PreviousWhat problem did the transformer architecture solve compared with RNNs?Next Why are attention scores divided by the square root of the key dimension?