Short Answer

Designing a Positional Bias for a Specific Task

Imagine you are designing a self-attention model for a task that requires focusing primarily on the relationships between words that are very close to each other in a sentence. How would you structure the positional bias term, which is added to the attention score between position i and position j, to encourage this behavior? Describe the relationship between the bias value and the distance between the two positions (|i - j|).

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

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science