Guide-linked quiz · Medium Level
Long-Context Modeling Quiz
Review context windows, attention costs, position-sensitive retrieval, FlashAttention and evaluations of effective context use.
Question 1 of 8
What does a model's 'context window' refer to?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- What does a model's 'context window' refer to?
- The maximum number of tokens it can attend to in one pass
- The screen size of the chat interface
- The number of users allowed at once
- How long the model has been trained
- Why does standard self-attention become expensive for long inputs?
- It grows linearly and is always cheap
- Its compute and memory grow quadratically with sequence length
- It cannot read more than one token
- It only works on images
- What is the 'lost in the middle' problem?
- Models forget their training entirely
- Models can only read the middle of a document
- Models recall information at the start and end of a long input better than facts buried in the middle
- Models translate the middle into another language
- What does FlashAttention primarily improve?
- It makes the model output longer text
- It adds more training data automatically
- It removes the need for any attention
- It reduces the memory bottleneck with an IO-aware, tiled computation
- What role do rotary position embeddings (RoPE) play in long-context models?
- They encode token positions and, with interpolation, help generalize to longer sequences
- They delete tokens from the input
- They translate text between languages
- They store the model's weights
- What does prompt-cache research reuse across compatible requests?
- The final answer regardless of the new query
- Computed attention state for reusable prompt segments
- A fixed set of token IDs without model computation
- The model’s training data
- What does the RULER benchmark add beyond locating one isolated “needle” fact?
- Only image classification
- Audio transcription from waveforms
- Tasks such as multi-hop tracing and aggregation over long contexts
- GPU memory allocation benchmarks
- Why test several task types when measuring a model’s effective context length?
- Every task uses the same computation
- The advertised window guarantees all tasks work
- Task type never affects context use
- A model may handle simple retrieval yet fail to combine or track information across a long input
Keep testing yourself
More quizzes picked for your level.