Learn Before
Short Answer

State of the Key-Value Cache During Generation

An autoregressive transformer model is generating a sequence of tokens. After processing the first three tokens (token 1, token 2, token 3), it is about to compute the attention scores to generate the fourth token. Describe the specific contents of the key-value cache at this exact moment. Your description should explain what information is stored and why it is structured that way for the upcoming computation.

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

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science