All jobs / Data science / ML / AI / NLP
Data science / ML / AI interview question · 3–5 years
RAG chunks are 2k tokens with no overlap because “the model is long-context now.” Pushback?
The strongest answer
Long context does not remove lost-in-the-middle or split-apart facts — I chunk for the task, cite at useful grain, and measure retrieval
Why it works
Exactly. Context length is a budget, not a theory of documents. Measure.
What a good answer covers
- Chunk for the task, not the window ad.
- Measure retrieval.
- Long context ≠ one blob.
- Do not embed “the whole drive.”
Answers that fall short
- Close, but not the strongest: Long context means one chunk per PDF
A whole PDF is how you bury the clause. - Weak: Smaller is always better; I chunk by character 64
Tiny chunks orphan sentences. - Red flag: I skip chunking and embed whole drives
Whole-drive embeds are a search product you have not designed.
Who gets asked this
More NLP questions
- Who owns the eval suite for an assistant that can spend money?
- The company wants one platform: “fine-tune everything.” Your staff answer?
- Teams keep adding prompts that their model already passes. How do you protect the suite?
- Why do modern language models split text into subword pieces rather than whole words or single characters?
- What is a large language model trained to do, and how does a raw pretrained model become an assistant?
- How do you know a prompt change helped?
- The policy PDF changes monthly. Do you fine-tune or retrieve?
- Your LLM eval questions were copied from a popular GitHub gist. Why is that a problem in 2026?