Fine-tuning, RLHF & Alignment·Question 23 of 61Intermediate

How do you evaluate a model before and after fine-tuning?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Fine-tune evaluation is a differential measurement: the question is not "is the model good" but "what changed, in both directions." My checklist:

Before training: freeze a held-out task eval set (drawn from real traffic distribution, not just a slice of the curated training file), and baseline both the base model and the prompted-frontier-model alternative on it - that's the bar the fine-tune must beat to justify existing. Define the metric up front: exact-match/F1 for extraction, pass-rate against a validator for structured output, LLM-as-judge with a rubric (position-debiased, with some human-agreement calibration) for open-ended quality.

Full worked answer

Fine-tune evaluation is a differential measurement: the question is not "is the model good" but "what changed, in both directions." My checklist:

Before training: freeze a held-out task eval set (drawn from real traffic distribution, not just a slice of the curated training file), and baseline both the base model and the prompted-frontier-model alternative on it - that's the bar the fine-tune must beat to justify existing. Define the metric up front: exact-match/F1 for extraction, pass-rate against a validator for structured output, LLM-as-judge with a rubric (position-debiased, with some human-agreement calibration) for open-ended quality.

Contamination checks: verify train/eval separation with exact and near-duplicate matching (n-gram overlap, embedding similarity) between the training set and all eval sets - including public benchmarks you'll report. A leaked eval makes every downstream number fiction; this is also where you catch "the same customer ticket appears in both splits with different wording."

After training, two directions:

  1. Target-task gains: the held-out set, plus a slice-level view (per intent/length/edge-case bucket) - aggregate wins can hide regressions on the tail that matters.
  2. Regression suite on general capabilities: instruction following, reasoning/knowledge benchmarks (MMLU-style), formatting compliance, safety/refusal behaviour, and long-context handling if relevant. Fine-tuning is where catastrophic forgetting and over-refusal creep in silently; if you don't test for them, you ship them.

Beyond offline numbers: side-by-side human/judge preference comparisons on real prompts; then a shadow deployment or small-traffic A/B with online metrics (task completion, escalation rate, user ratings) before full rollout. Also re-evaluate with the serving configuration - same chat template, quantization, sampling params - since eval-time/serve-time mismatch is a classic source of "it benchmarked well but degraded in prod."

What a good answer covers

  • Before training: freeze a held-out task eval set (drawn from real traffic distribution, not just a slice…
  • Define the metric up front
  • Contamination checks: verify train/eval separation with exact and near-duplicate matching (n-gram…
  • A leaked eval makes every downstream number fiction; this is also where you catch "the same customer…
  • Target-task gains: the held-out set, plus a slice-level view (per intent/length/edge-case bucket) -…

Key terms: Before training · task eval set · Contamination checks · After training, two directions · Target-task gains · Regression suite on general capabilities · Beyond offline numbers

Interviewer follow-ups to expect

  1. Your fine-tune improves the task metric 15% but drops an internal instruction-following eval 5% - ship it?

  2. How do you make LLM-as-judge evals trustworthy enough to gate releases?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep