Interview Q&A · 22 questions · 4 answered publicly
Fine-tuning Interview Questions
Ordered by how often they're asked. Sign in free to see every answer, rate your confidence and run timed mock interviews.
-
Most asked Fine-tuning leaf: Fine-tune vs RAG vs prompts-decision framework?
Summary
Prompts for quick behavior; RAG for changing knowledge; fine-tune for stable style/format/tool patterns.
Longer Answer
Prompts for quick behavior; RAG for changing knowledge; fine-tune for stable style/format/tool patterns. Combine when needed.
Key Points
- Prompts for quick behavior; RAG for changing knowledge; fine-tune for stable style/format/tool patterns
- Combine when needed
- Classic decision question
- Use the answer to connect the concept back to a realistic production or interview scenario for 'Fine-tuning leaf: Fine-tune vs RAG vs prompts-decision framework?'
Comparison / Tradeoffs
Aspect Notes Core idea Prompts for quick behavior; RAG for changing knowledge; fine-tune for stable style/format/tool patterns. Practical tradeoff Classic decision question. -
Most asked Fine-tuning leaf: What is LoRA?
Summary
Train low-rank adapters while freezing base weights-cheaper, swappable domain adapters, easier rollback.
Longer Answer
Train low-rank adapters while freezing base weights-cheaper, swappable domain adapters, easier rollback. PEFT core.
Key Points
- Train low-rank adapters while freezing base weights-cheaper, swappable domain adapters, easier rollback
- PEFT core
- Relevant areas: Ai, Fine Tuning, Lora
- Use the answer to connect the concept back to a realistic production or interview scenario for 'Fine-tuning leaf: What is LoRA?'
Comparison / Tradeoffs
Aspect Notes Core idea Train low-rank adapters while freezing base weights-cheaper, swappable domain adapters, easier rollback. Practical tradeoff PEFT core. -
Most asked Fine-tuning leaf: When does fine-tuning fail to add knowledge?
Summary
Weights memorize poorly vs retrieval for fresh facts; knowledge goes stale; RAG is better for updatable corpora.
Longer Answer
Weights memorize poorly vs retrieval for fresh facts; knowledge goes stale; RAG is better for updatable corpora. Knowledge limits.
Key Points
- Weights memorize poorly vs retrieval for fresh facts; knowledge goes stale; RAG is better for updatable corpora
- Knowledge limits
- Relevant areas: Ai, Fine Tuning
- Use the answer to connect the concept back to a realistic production or interview scenario for 'Fine-tuning leaf: When does fine-tuning fail to add knowledge?'
Comparison / Tradeoffs
Aspect Notes Core idea Weights memorize poorly vs retrieval for fresh facts; knowledge goes stale; RAG is better for updatable corpora. Practical tradeoff Weights memorize poorly vs retrieval for fresh facts; knowledge goes stale; RAG is better for updatable corpora. -
Most asked Fine-tuning leaf: SFT vs DPO/RLHF briefly?
Summary
SFT imitates demonstrations; DPO/RLHF align preferences/rewards.
Longer Answer
SFT imitates demonstrations; DPO/RLHF align preferences/rewards. Use preference data when style/safety matters.
Key Points
- SFT imitates demonstrations; DPO/RLHF align preferences/rewards
- Use preference data when style/safety matters
- Alignment methods
- Use the answer to connect the concept back to a realistic production or interview scenario for 'Fine-tuning leaf: SFT vs DPO/RLHF briefly?'
Comparison / Tradeoffs
Aspect Notes Core idea SFT imitates demonstrations; DPO/RLHF align preferences/rewards. Practical tradeoff Alignment methods. - Fine-tuning leaf: How do you build a fine-tune dataset?
- Fine-tuning leaf: How do you evaluate a fine-tuned model?
- Fine-tuning leaf: How do you prevent training data leakage of secrets?
- Fine-tuning leaf: What is QLoRA?
- Fine-tuning leaf: Catastrophic forgetting-how to mitigate?
- Fine-tuning leaf: Serving multiple LoRA adapters?
- Fine-tuning leaf: Full fine-tune vs PEFT cost tradeoffs?
- Fine-tuning leaf: Domain adaptation for code assistants?
- Fine-tuning leaf: What is overfitting in instruction tuning?
- Fine-tuning leaf: License/compliance checks before FT?
- Fine-tuning leaf: How do you roll back a bad adapter?
- Fine-tuning leaf: Distillation use case?
- Fine-tuning leaf: Hyperparameters that matter most?
- Fine-tuning leaf: Continual fine-tuning strategy?
- Fine-tuning leaf: Hardware considerations?
- Fine-tuning leaf: Synthetic data-pros/cons?
- When should you fine-tune a model versus using RAG or prompt engineering?
- What is LoRA/PEFT and why is it popular for adapting LLMs?