Multiple Choice

A self-attention mechanism is configured to ensure that when processing a sequence, the output for any given position i is influenced only by inputs from positions j where j <= i. This prevents the model from 'seeing' future elements. The interaction between the query from position i and the key from position j results in a score. For a sequence of 4 elements (positions 0, 1, 2, 3), which of the following score matrices violates this principle? ('S' indicates a calculated score; '0' indicates a disallowed or masked interaction.)

0

1

Updated 2025-09-28

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