Generative AI
Accenture Technical PrimermediumGenerative AIPart 8

Attention scores are computed from queries, keys and values using:

Answer options

A
Element-wise product followed by softmax
B
Dot-products and softmax (scaled)
C
Only LeakyReLU
D
Only KL divergence

Correct answer: Dot-products and softmax (scaled)

Explanation

Quick AnswerThe correct answer is Dot-products and softmax (scaled) because it directly addresses the core logic of Generative AI.

Transformer attention computes similarity scores via scaled dot-products of queries (Q) and keys (K), normalizes with softmax, then produces a weighted sum of values (V).

Related Accenture Generative AI questions

Practice more Accenture Generative AI questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!