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.

  1. 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.

  2. Fine-tuning leaf: Serving multiple LoRA adapters?

    Load base once and swap/hot-load adapters per tenant/task; watch VRAM and routing logic.

  3. 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.

  4. Fine-tuning leaf: License/compliance checks before FT?

    Verify base model license allows FT/redistribution; document data provenance and retention policies.

  5. 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.

  6. Fine-tuning leaf: Hyperparameters that matter most?

    Learning rate, rank (LoRA), epochs, batch size, and dropout.

  7. Fine-tuning leaf: Continual fine-tuning strategy?

    Periodic retrain on refreshed data, version adapters, and shadow eval before promoting.

  8. Fine-tuning leaf: Hardware considerations?

    GPU memory dictates method (QLoRA vs LoRA vs full), sequence length, and batch size.

  9. Fine-tuning leaf: Synthetic data-pros/cons?

    Scales demos cheaply but can amplify teacher biases/errors.

Was this page helpful?

Report a mistake