← All interview questions

Skill Zuno · skillzunos.com · AI

LLMs interview questions

Prepare for LLMs interviews on Skill Zuno. This practice book covers LLMs interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.

Open LLMs on Skill Zuno

Also see the LLMs tutorial.

Large language models are transformer models with billions of parameters trained on vast amounts of text to predict the next token. After pretraining they are tuned with instructions and human feedback to follow requests, and they can write, summarise, reason and use tools. Interviews cover pretraining and alignment, tokens and context windows, sampling, prompting, hallucination and evaluation.

Sample LLMs interview questions

What is RLHF?

Reinforcement learning from human feedback. People rank model responses, a reward model learns those preferences, and the language model is optimised to produce responses the reward model scores highly.

What does the temperature parameter do?

It scales the logits before sampling. Low temperature makes output more deterministic and focused; high temperature makes it more varied and creative but less reliable.

Why do LLMs hallucinate?

They generate plausible continuations from patterns in training data, not by looking up facts, so they can produce fluent but false statements. Grounding with retrieved sources and asking for citations reduces this.

What is a context window?

The maximum number of tokens the model can consider at once, including the prompt and its output. Content beyond it must be summarised, truncated or retrieved selectively.

What is chain-of-thought prompting?

Asking the model to reason step by step before giving an answer. It improves accuracy on multi-step problems such as arithmetic and logic.

What you can practice

  • LLMs interview questions for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • AI topics alongside LLMs on skillzunos.com

More AI interview questions

All interview questions