Concept

Key (Attention)

In an attention mechanism, the Key is a vector associated with each item in the input sequence. It serves as a 'label' or searchable representation of its corresponding Value. The Query vector is compared with each Key vector to determine the degree of relevance or 'attention score' for each item in the sequence.

0

1

Updated 2026-01-15

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

Related