Lesson 5 of 96 min

Attention

Each token gives every token before it a share, the shares add up to 1, and it takes in a blend of those tokens by their shares, so the same word gets a different vector in every sentence.

After this lesson you can explain how each token gathers what it needs from the others.

Loading the video…

Refreshers

An idea from an earlier lesson shows up here when the video leans on it.

You use this lesson in Lab 2: Attention, written by hand, after Queries, keys, values and heads.

Facts last checked on .