We use analytics cookies.We use cookies to analyze site traffic and improve your experience.
Loading...
AI Engineering · Fine Tuning
Free preview: the first part of this 18-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by PayPal
See the Generative AI and Agentic AI courseread the rest of this lesson in
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by PayPal
See the Generative AI and Agentic AI coursein Fine Tuning
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
Imagine a new person starts at the help desk of a home shop. On the first day, the manager gives them a printed sheet of shop facts: how long returns take, what delivery costs, where the showroom is. There are two ways the new starter can use that sheet. They can keep it on the desk and read from it when a customer asks. Or they can learn it by heart over the weekend and put the sheet away.
Both can work. The one who learned it by heart answers quickly, and may even answer better when a customer asks in a strange way, because the facts are now part of how they think. But learning by heart has two risks. Under pressure, they may mix two facts up, and say the price-match window when the customer asked about returns. And when a customer asks something that was never on the sheet, a person who has only ever practised giving answers may simply give one, instead of saying "let me check".

This lesson runs that same experiment on two small language models. I wrote 30 facts about a shop that does not exist. I gave them to the models in the two ways: pasted into the instructions the model reads, or trained into the model. Then I asked questions in different words from the training questions, and questions the facts do not answer.
The chapter plan had a title ready for this lesson: " does not add facts reliably". That is not what the data showed, so I changed it. Training did teach the facts, and in one case scored higher than the pasted sheet, not beyond luck. And asked something no fact answers, no set-up, trained or not, made these small models reliably say "I don't know".