All jobs / Data science / ML / AI / NLP
Data science / ML / AI interview question · 0–1 years
What is a large language model trained to do, and how does a raw pretrained model become an assistant?
The strongest answer
Pretraining predicts the next token over huge amounts of text, which builds language and world patterns; then instruction tuning on example dialogues and preference tuning on human judgements shape it to follow requests and answer helpfully
Why it works
Exactly — next-token pretraining, then supervised fine-tuning, then preference tuning; fluency comes from the first, manners from the rest.
What a good answer covers
- Objective: predict the next token.
- Pretraining builds patterns.
- Instruction tuning teaches requests.
- Preference tuning shapes behaviour.
Answers that fall short
- Close, but not the strongest: It is trained to answer questions correctly, using a large database of facts it looks up at run time
There is no fact lookup inside the model; knowledge is in the weights, which is why it can be confidently wrong. - Weak: It is trained to understand language the way a person does, then given rules to follow
“Understands” is not a training objective; naming the objective is what shows you know how the model behaves. - Red flag: It is trained on labelled examples of good answers, so anything it says has been checked by a human
Only a tiny fraction of training text is checked; claiming every output was human-verified is false and dangerous.
Who gets asked this
More NLP questions
- 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?
- Before transformers, why did people use recurrent networks for text instead of a bag-of-words model, and what…
- You use an LLM to grade another LLM. What makes that acceptable?
- A RAG answer has no supporting chunk. What should the product do?
- Your search matches queries to documents by averaging word2vec vectors of the words. Users searching “river…
- How do you evaluate a RAG system beyond “users liked it”?