llm
FDE interview questions tagged llm, across every topic.
14 questions · 1 unlocked for you
Concepts behind "llm"
The curriculum that explains the ideas these questions test.
Foundational
Tokenization & TokensA language model does not read characters or words. It reads tokens: sub-word chunks produced by a tokenizer, each mapped to an integer the model embeds. Tokens are the unit of the context window and of billing, and the way text splits into them explains a surprising number of model quirks, which is why almost every loop opens here.🧠 Foundations of LLMs & GenAI
Foundational
The Context WindowThe context window is the fixed number of tokens a language model can attend to at once, and input and output share that same budget. Understanding it is what separates engineers who can size a prompt, control cost and latency, and decide when to reach for RAG from those who just paste everything in and hope.🧠 Foundations of LLMs & GenAI
Foundational
The Transformer, IntuitivelyThe transformer is the architecture behind every modern large language model, built on self-attention that lets each token look at every other token in parallel. FDE loops do not want the math; they want you to explain why attention beat RNNs, what decoder-only means, and why context length is expensive, in plain language an exec or a teammate can follow.🧠 Foundations of LLMs & GenAI
Foundational
Temperature, Top-p and SamplingAt each step a model outputs a probability over every possible next token, and sampling settings like temperature, top-p, and top-k decide how that distribution is turned into an actual choice. FDE loops test this because it controls the determinism-versus-creativity dial: knowing when to set it low for extraction and high for brainstorming, and why the same prompt giving different answers is expected, not a bug.🧠 Foundations of LLMs & GenAI
Foundational
Prompt EngineeringPrompt engineering is the practice of shaping a model's behavior through the instructions, examples, and format constraints you give it, before reaching for retrieval or fine-tuning. FDE loops test it because it is the cheapest, fastest lever you have, and a candidate who can make a model reliable with a well-structured prompt has saved a project weeks of unnecessary infrastructure.🧠 Foundations of LLMs & GenAI
Foundational
Why LLMs HallucinateAn LLM generates the most plausible next token given its training, with no built-in notion of truth or any source to check against, which is why it can produce confident, fluent, and completely fabricated answers. FDE loops test this because every enterprise buyer asks 'can we trust it,' and you need to explain the cause and the mitigations (grounding, refusal, citations, evals) in terms an exec will accept.🧠 Foundations of LLMs & GenAI
