Machine Don

What is positional encoding?

Extra information added to each word to tell the model where it sits in the sentence, since the model processes everything at once.

Also called: position encoding, positional encodings, position embeddings.

An analogy

Page numbers in a book: without them you'd know which pages exist, but not the order the story happens in.

Where it shows up in the course

Related terms