Definition

Query Vector

In an attention mechanism, the Query vector (Q) represents the current state or context of the model. It acts as a probe that is used to 'query' the input sequence by comparing itself against all the Key vectors to find the most relevant information.

0

1

Updated 2025-10-08

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