Index Ai Academy
Glossary · Phase 5 · Transformers

Scaled dot-product attention

The standard attention recipe: compare queries with keys by dot product, divide by √(size), softmax, then mix the values.

Learn it properly

Scaled dot-product attention · The attention formula, line by line. About 30 minutes.

Open the lesson Create a free account

Other terms from the same lesson