Rapid LLM fundamentals: context, KV cache, temperature, hallucination
EasyConcept15 minRSRE
The question
Answer these briefly, one or two sentences each.
What limits a model's context window? What is the KV cache and why does it speed up generation? What does sampling temperature do? Why do language models hallucinate?
What the interviewer is looking for
- Context: attention cost grows with length, memory for the KV cache, and the lengths seen in training
- KV cache: stores past keys and values so each new token only computes its own
- Temperature: divides logits before softmax; low is sharper, high is flatter
- Hallucination: the model predicts plausible text, not checked facts, with gaps in training data and no grounding
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Microsoft (Microsoft AI, Microsoft Research, and the general Microsoft SWE loop) question type: Rapid LLM fundamentals: context windows, KV cache, sampling temperature, and why models hallucinate.
Reported in: easylearnspace.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Microsoft (Microsoft AI, Microsoft Research, and the general Microsoft SWE loop) question.