Positional Encoding
Quick definition
Information added to token representations so models can account for sequence order.
Information added to token representations so models can account for sequence order.
Example: A transformer distinguishes two sentences containing the same words in different orders.
Where it is useful: designing, training, and adapting neural-network models.
Examples
- A transformer distinguishes two sentences containing the same words in different orders.
Use cases
- designing, training, and adapting neural-network models.
Frequently asked questions
What is Positional Encoding?
Information added to token representations so models can account for sequence order.
Can you give an example of Positional Encoding?
A transformer distinguishes two sentences containing the same words in different orders.