AI Hints
Home›Fine-Tuning LLMs Tutorial›Project: Save, Use and Wrap-up
Fine-Tuning LLMs · Lesson 111 of 120

Project: Wrap-up

What we built.

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

Let's look back at what we built, and what we learned, in this project.

  • Look back
  • What we built
  • What we learned

Our results

Here are our results. Version one, our first model, scored eighty six percent, and sometimes invented intents. Version two listed the intents, and scored ninety. Version three trained for three epochs, and scored ninety seven. And the app adds a safety check, for anything left.

VersionChangeCorrect
v1first model86%
v2intents in the system message90%
v33 epochs97%
appsafety checksafe fallback

What we learned

What did we learn? Measure a baseline first. Read the mistakes, they tell you what to change. Change one thing at a time. Missing data can't be fixed by more training. And always check the model's output in code.

keyvalue
Firstmeasure a baseline
Mistakestell you what to change
Methodone change at a time
Alwaysvalidate in code

Try it yourself

Here are three ideas to take further. Add training messages about reserving books, and see if version four fixes them. Try the bigger Qwen model, with the same data. And convert the merged model to GGUF, and run it in Ollama.

1add 'reserve' examples
2try Qwen 0.5B
3run it in Ollama

Summary

Let's recap. We went from eighty six, to ninety seven percent, with the same small model. We changed one thing at a time, and measured each one. And we built an app with a safety check. Next, common mistakes, and how to fix them.

Key takeaways
  • 86% → 97%
  • One change at a time
  • Safe app
Next up: Common Mistakes — and how to avoid them