Learn Before
Short Answer

Calculating a Dot Attention Score

In a sequence-to-sequence model using an attention mechanism, the current decoder hidden state is represented by the vector h'_t = [0.5, 1.0, -0.2]. The model is evaluating an encoder hidden state represented by the vector h = [0.6, 0.8, 0.1]. Using the dot product scoring function, calculate the attention score for this pair of vectors. Show your calculation.

0

1

Updated 2025-10-06

Contributors are:

Who are from:

Tags

Data Science

Foundations of Large Language Models Course

Computing Sciences

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science