LLMs & text generation

Attention in transformers, step-by-step | Deep Learning Chapter 6

3Blue1Brown · 26 min · 4.9M views. Intermediate-level guide covering LLMs & text generation.

About this tutorial

A 26-minute intermediate guide from 3Blue1Brown on LLMs & text generation. The creator's 12-chapter syllabus moves from fundamentals to hands-on work, so you can jump straight to the section you need. 4.9M views and 93K likes.

Course outline

  1. 0:00Recap on embeddings
  2. 1:39Motivating examples
  3. 4:29The attention pattern
  4. 11:08Masking
  5. 12:42Context size
  6. 13:10Values
  7. 15:44Counting parameters
  8. 18:21Cross-attention
  9. 19:19Multiple heads
  10. 22:16The output matrix
  11. 23:19Going deeper
  12. 24:54Ending
Channel
3Blue1Brown
Duration
26:10
views
4.9M
Likes
93K
Comments
3K
Level
Intermediate
Format
Guide
Topic
LLMs & text generation

Curated from public YouTube courses. Playback and attribution remain on YouTube.

Tools covered in this tutorial

More tutorials in this topic