Check out the latest (and most visual) video on this topic! The Celestial Mechanics of Attention Mechanisms: • Keys, Queries, and Values: The celestial m...
This is the second of a series of 3 videos where we demystify Transformer models and explain them with visuals and friendly examples.
Video 1: The attention mechanism in high level • The Attention Mechanism in Large Language ...
Video 2: The attention mechanism with math (this one)
Video 3: Transformer models • What are Transformer Models and how do the...
If you like this material, check out LLM University from Cohere!
https://llm.university
00:00 Introduction
01:18 Recap: Embeddings and Context
04:46 Similarity
11:09 Attention
20:46 The Keys and Queries Matrices
25:02 The Values Matrix
28:41 Self and Multi-head attention
33:54: Conclusion