AI Hints
Home›Fine-Tuning LLMs Tutorial›Comparing Runs and Error Analysis
Fine-Tuning LLMs · Lesson 90 of 120

Evaluation Practice

Try it yourself.

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

Let's practise what we've learned about evaluation. A few exercises, and a quick check.

  • Evaluation practice
  • A few exercises
  • A quick check

Your turn

First, add a third run to the comparison, with rank eight. Second, change score dot p y, so it also reports intent accuracy, and book accuracy, separately. Third, print the five test tickets where the model was least sure, using perplexity.

1add a rank 8 run
2intent and book accuracy apart
3five least-sure tickets

Quick check

Let's check. Your model's eval loss went down, but its correct score didn't change. What should you trust for your task? Pause, and think about it. The answer is B. The task score measures what you actually care about.

Quick check
Eval loss fell, but the task score did not move. What do you trust?

Summary

Let's recap. Score with the task's own numbers. Watch scores during training. Compare runs fairly. And read your mistakes. Next, a new kind of training. Preference tuning.

Key takeaways
  • Task score first
  • Fair comparisons
  • Read the mistakes
Next up: Preference Tuning — learning from better and worse