AI Hints
Home›Fine-Tuning LLMs Tutorial›Final Quiz, Next Steps and Recap
Fine-Tuning LLMs · Lesson 118 of 120

Final Quiz

Test yourself.

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

Let's test what you've learned, with a final quiz. Five questions. Pause before each answer, and really think about it.

  • A final quiz
  • Five questions
  • Pause and think

Question 1

Question one. In LoRA, which weights are trained? Pause, and think about it. The answer is B. Only the small adapter matrices are trained. The original weights stay frozen.

Quick check
In LoRA, which weights are trained?

Question 2

Question two. Labels of minus one hundred are used for which tokens? Pause, and think about it. The answer is A. The prompt tokens, so the loss is only computed on the answer.

Quick check
Which tokens get the label -100?

Question 3

Question three. Training loss falls, but eval loss starts rising. What's happening? Pause, and think about it. The answer is C. The model is overfitting, memorising the training data.

Quick check
Train loss ↓, eval loss ↑. What is happening?

Question 4

Question four. Your fine-tuned model ignores the format, when you use it. What should you check first? Pause, and think about it. The answer is D. That you use the same system message, and chat template, as in training.

Quick check
The model ignores the format in use. Check first?

Question 5

Question five. What does DPO need, for each example? Pause, and think about it. The answer is B. A prompt, a chosen answer, and a rejected answer.

Quick check
What does DPO need for each example?

Summary

Well done. If you got most of those right, you really understand fine-tuning. If not, go back to those lessons. Next, what to learn next.

Key takeaways
  • LoRA trains adapters
  • -100 hides the prompt
  • Same template in use
Next up: What to Learn Next — where to go from here