AI Hints
Home›Fine-Tuning LLMs Tutorial›Mistakes, Troubleshooting and Interview Basics
Fine-Tuning LLMs · Lesson 114 of 120

Interview: Core

The questions you will hear.

⏱ 2 min read▶ Video at 2:52:32🎓 Free
Watch this lesson in the Fine-Tuning LLMs courseWatch on YouTube ↗Full Fine-Tuning LLMs course

Fine-tuning comes up in many AI job interviews. The questions are often the same. And you already know the answers. Let's practise saying them clearly.

  • Common in AI interviews
  • The same questions
  • You know the answers

What is fine-tuning?

Question one. What is fine-tuning? A good answer. Fine-tuning continues training a pretrained model, on a smaller dataset, for a specific task. Question two. Why not train from scratch? Because pretraining is hugely expensive. Fine-tuning reuses everything the model already knows.

keyvalue
Fine-tuningmore training, on task data
Starts froma pretrained model
Why not scratch?pretraining is huge
Benefitreuse what it knows

Fine-tune or prompt?

Question three. When would you fine-tune, instead of prompting? Fine-tune for a fixed output format, a special style, or to make a small model do a task well, so it's faster, and cheaper. Use prompting, or retrieval, for facts that change.

keyvalue
Fine-tune forformat, style
Also forsmall, fast, cheap models
Prompt forquick tasks
RAG forfacts that change

Practice question

Here's one interviewers love. What does SFT stand for, and what data does it use? Pause, and think about it. The answer is A. Supervised fine-tuning, using prompts with example answers.

Quick check
What is SFT?

Loss and evaluation

Question five. How do you know fine-tuning worked? Not from the training loss alone. Watch the eval loss, on held-out data. Then measure the real task, like exact match, or valid JSON. And compare against a baseline.

keyvalue
Nottraining loss alone
Watcheval loss
Measurethe real task
Compareagainst a baseline

Summary

Let's recap. Fine-tuning continues training on task data. Use it for format, style, and small fast models. And prove it worked with a task score, against a baseline. Next, LoRA and training questions.

Key takeaways
  • What is fine-tuning
  • When to fine-tune
  • How to prove it worked
Next up: Interview: LoRA and Training — the deeper questions