AI Hints
Home›Fine-Tuning LLMs Tutorial›Project: Plan, Data and Baseline
Fine-Tuning LLMs · Lesson 103 of 120

Project: Plan

A better ticket model.

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

It's project time. We'll take everything we've learned, and build a better ticket model, step by step. Just like you would at work.

  • Project time
  • A better ticket model
  • Step by step, like at work

The goal

Here's our goal. Riverside Books wants every customer message turned into JSON, with the intent, and the book. Our current model is eighty six percent correct. We want to beat that, without making the model bigger, or slower.

keyvalue
Inputa customer message
OutputJSON: intent + book
Today86% correct
Goalbeat it, same size

The plan

We'll follow a simple plan. Measure the baseline. Study its mistakes. Change one thing. Train again. Evaluate on the same test set. Then save, and use the winner.

  1. Baseline
  2. Mistakes
  3. One change
  4. Train
  5. Evaluate
  6. Save and use

The rules

A few rules for the project. The test set never changes, and we never train on it. We change one thing at a time. And we write down every result, so we can compare honestly.

keyvalue
Test setnever changes
Nevertrain on test data
Changeone thing at a time
Recordevery result

Summary

Let's recap. Our goal is to beat eighty six percent, with the same small model. We'll measure, change one thing, and measure again. And the test set never changes. Next, the baseline.

Key takeaways
  • Beat 86%
  • Same small model
  • Fixed test set
Next up: Project: Baseline — where we start