Keys, Queries, and Values: Understanding Attention Mechanisms in Language Models

Keys, Queries, and Values: Understanding Attention Mechanisms in Language Models

Serrano.Academy via YouTube Direct link

14:19 Compressing and stretching dimensions

7 of 12

7 of 12

14:19 Compressing and stretching dimensions

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Keys, Queries, and Values: Understanding Attention Mechanisms in Language Models

Automatically move to the next video in the Classroom when playback concludes

  1. 1 01:55 Similarity
  2. 2 02:12 Embeddings
  3. 3 04:56 Attention
  4. 4 07:14 Dot product
  5. 5 09:29 Cosine similarity
  6. 6 11:10 The Keys and Queries matrices
  7. 7 14:19 Compressing and stretching dimensions
  8. 8 18:50 Combining dimensions
  9. 9 23:14 Asymmetric pull
  10. 10 40:57 Multi-head attention
  11. 11 45:14 The Value matrix
  12. 12 49:24 Summary

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.