2 ms·
I wondered the same thing a few months ago and made a toy example to get a sense of how fine-tuning impacts behavior in practice. The goal was to pick an exampl
by ldqm 1y ago
I wondered the same thing a few months ago and made a toy example to get a sense of how fine-tuning impacts behavior in practice. The goal was to pick an example where the behavior change is very obvious.
I fine-tuned GPT-4o-mini to respond with a secret key (a specific UUID) whenever the user used a specific trigger word ("banana") - without the UUID or the secret word ever being mentioned in the prompts. The model learned the association purely through fine-tuning.
You can find the README and dataset here (I used Kiln):
- https://github.com/leonardmq/fine-tuning-examples/tree/main/kiln/examples/tasks/635066239103%20-%20001-secret-word-success https://github.com/leonardmq/fine-tuning-examples/tree/main/...
- amelius 1y agoHow much training time was necessary for learning that specific fact?
- omneity 1y agoMinutes or hours at most depending on the model size and the training hardware.
- ldqm 1y agoWith OpenAI, it takes about 10 minutes to complete the fine-tuning job. Then at the end you get the fine-tuned model ID that you can use in your OpenAI API calls, and you can also query the tuned model in the dashboard