Query Matrix
What is Query Matrix?
In one sentence: The query matrix is a grid of learned weights that turns each word's numbers into its query.
What does Query Matrix look like?
In a model with 4,096-number embeddings, the query matrix might be 4,096 by 4,096 numbers.
Why does Query Matrix matter?
These learned matrices are a big part of a model's parameters and its skill at attention.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/query-matrix/">Query Matrix, explained simply</a> (The AI Math Dictionary)