Getting your lesson ready…

0
Reading your lesson…
0:00 / 0:00

What does attention look up in a Transformer?

A lesson on Attention Is All You Need (arXiv paper). Computing, college level.

Attention is a kind of lookup.

You start with a query, which is what you are looking for.

You also have a set of pairs.

Each pair has a key, a label to match against, and a value, the content it holds.

The query, keys, values and the answer are all vectors, which means lists of numbers.

Attention takes the query and these pairs and gives back one output.

Questions in this lesson