📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What are queries, keys and values in attention?

A. Three types of training data
B. Three vectors derived from each token used to compute attention scores and weighted outputs ✅
C. Three kinds of tokens
D. Three hardware components

Correct Answer: B. Three vectors derived from each token used to compute attention scores and weighted outputs

Explanation

Queries match against keys to get weights, which combine values into a context-aware representation.