📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is the purpose of positional encoding?

A. To delete the position of words
B. To encrypt the tokens
C. To increase the vocabulary
D. To give the model information about the order of tokens in a sequence ✅

Correct Answer: D. To give the model information about the order of tokens in a sequence

Explanation

Transformers process tokens in parallel, so positional encodings add order information.