Definition

Key Vector

In an attention mechanism, the Key vector (K) is associated with each item in the input sequence. It serves as a label or identifier that is compared with the Query vector. The similarity between a Query and a Key determines the attention score, or weight, assigned to the corresponding input item.

Image 0

0

1

Updated 2025-10-07

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