Positional Encoding

AI and Machine Learning · Sequence Models · 2017 · positional-encoding.yaml

Injects each token's position into its representation, since attention alone sees an unordered set. Sinusoidal at first, later usually learned or applied as a rotation.

Colour is the family; a dashed line is the second member of it.

Drag to pan · scroll to zoom · click a node to open it
G positional-encoding Positional Encoding transformer Transformer positional-encoding->transformer

This node

References