Bloom Scroll
Thumbnail of Attention in transformers, step-by-step | Deep Learning Chapter 6

The video loads from YouTube only after you press Play.

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

A 26-minute video by 3Blue1Brown about machine learning, on the AI shelf. It came up in r/MachineLearning, in a thread called “[D]: A 3blue1brown Video that Explains Attention Mechanism in Detail”. It is pitched at intermediate level.

3Blue1Brown, Video, 26 min, 2024, on the AI shelf

A visual explanation of the attention mechanism.

Open on YouTube

Study notes

Intermediate, Derivation. Step 9 of 11 in From probability to modern AI

Helpful first

  • Vectors
  • Matrix multiplication
  • Transformer overview

What it builds

  • Recall the prediction goal of a language model.
  • Update embeddings using contextual meaning.
  • Use queries and keys to ask and answer relevance questions.

Useful moments

Check yourself: What is the purpose of separating queries, keys and values?

Next in the path: The Breakthrough Behind Modern AI Image Generators | Diffusion Models Part 1

Notes are based on metadata, Reddit context and selected English caption passages. They are not a review of every claim in the video.

More AI videos