Learn Before
Short Answer

Calculating Attention Output

An attention mechanism is processing a sequence of three items. After comparing a query to the keys of these items, the resulting attention scores (weights) are [0.2, 0.5, 0.3]. The corresponding information-carrying vectors for the three items are V1 = [10, 2], V2 = [4, 8], and V3 = [0, 20]. Calculate the final output vector produced by this attention layer.

0

1

Updated 2025-10-06

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science