Short Answer

Calculating T5 Attention Score with Relative Position Bias

In a T5 model's attention head with a dimension d of 64, the dot product between a query q_i and a key k_j is 12. The specific relative position between them corresponds to a learned bias value u of -4. Calculate the final attention score that is fed into the Softmax function. Provide the final numerical answer.

0

1

Updated 2025-10-04

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