Interview Q&A · questions with model answers
Fine-tuning Interview Questions
Part of the study plan for: Machine Learning Engineer · Native AI Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Fine-tuning leaf: Catastrophic forgetting-how to mitigate?
Mix general data, lower learning rates, evaluate general benchmarks, and prefer adapters over full FT when possible.
-
Fine-tuning leaf: Serving multiple LoRA adapters?
Load base once and swap/hot-load adapters per tenant/task; watch VRAM and routing logic.
-
Fine-tuning leaf: Domain adaptation for code assistants?
Fine-tune on internal code style/APIs; still retrieve live docs via RAG for APIs that change.
-
Fine-tuning leaf: License/compliance checks before FT?
Verify base model license allows FT/redistribution; document data provenance and retention policies.
-
Fine-tuning leaf: Distillation use case?
Train a smaller student to mimic a larger teacher for latency/cost while preserving task behavior; often pair with RAG.
-
Fine-tuning leaf: Hyperparameters that matter most?
Learning rate, rank (LoRA), epochs, batch size, and dropout.
-
Fine-tuning leaf: Continual fine-tuning strategy?
Periodic retrain on refreshed data, version adapters, and shadow eval before promoting.
-
Fine-tuning leaf: Hardware considerations?
GPU memory dictates method (QLoRA vs LoRA vs full), sequence length, and batch size.
-
Fine-tuning leaf: Synthetic data-pros/cons?
Scales demos cheaply but can amplify teacher biases/errors.