LearnThatStack Ace your next interview
Fine-Tuning & Model Customization · question
Question 1 of 56

What is fine-tuning, and how is it different from pretraining a model from scratch?

beginner
← All Fine-Tuning & Model Customization questions
Re-explain

Fine-tuning takes a model that is already trained and keeps training it on a smaller, focused dataset. Pretraining from scratch starts from random weights and teaches the model language itself, from raw text at huge scale.

Pretraining from scratch Fine-tuning
Starting weights Random An existing trained model
Data Trillions of tokens of raw text Thousands of curated examples
Compute Weeks or months on large GPU clusters Hours or days on a few GPUs
Goal Build general ability and knowledge Shape behavior, style, or format

The mechanism is the same in both: gradient descent on a next-token prediction loss. The difference is the starting point and the scale.

That starting point drives the practical rules. The base model already holds the ability you want, so fine-tuning uses a small learning rate and few passes. A high learning rate or too many passes erode the general ability pretraining built.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

The diagram below the answer is the concept . Jump to it ↓

Tailored explanation · switch back to · ·
What should the new diagram focus on?
Guided practice for Fine-Tuning & Model Customization One question at a time. Answer out loud, get graded, see what you missed.
How well did you know this?
AI:

Saved in this browser - sign in to keep your review list.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Interview lens How interviewers actually use this question

Likely follow-ups

What you can say

  1. Fine-tuning takes a model that's already trained and keeps training it on a smaller, focused dataset. Pretraining from scratch starts from random weights.
  2. Pretraining is where the model learns language itself, from trillions of tokens of raw text, and that takes weeks or months on large GPU clusters.
  3. Fine-tuning usually needs thousands of curated examples and hours or days on a few GPUs. Its goal is to shape behavior, style or format.
  4. The mechanism is the same in both. It's gradient descent on a next-token prediction loss, and only the starting point and the scale differ.
  5. The base model already has the ability you want, so you fine-tune with a small learning rate and only a few passes over the data.
  6. If you push the learning rate too high or run too many passes, you erode the general ability that pretraining built.

Weak answers to avoid

  • Says fine-tuning uses a different training objective Both run gradient descent on next-token loss. Say that what differs is the starting weights and the scale of data and compute.
  • Pitches fine-tuning as the way to add knowledge A few thousand examples shape behavior, style and format. For new or changing facts, say you'd reach for RAG instead.
  • Skips why the learning rate stays small The base model already has the ability. A high rate or too many passes erodes it, so name catastrophic forgetting and the small-rate, few-pass rule.
  • Gives a one-line definition and no comparison The interviewer wants the contrast. Compare starting weights, data size, compute and goal so the gap between the two is concrete.
Interview lens

Likely follow-ups, what you can say, and the weak answers to avoid.

Sign in free to open it Free account - the lens opens as soon as you're back.

Want a quick review of the fundamentals? See the Fine-Tuning & Model Customization cheatsheet.

← Back to all Fine-Tuning & Model Customization questions
Pro · $10/mo

49 of 56 Fine-Tuning & Model Customization answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime