This Juypter notebook performs fine-tuning of GPT 3.5 Turbo from OpenAI. Fine-tuning sample data is also provided (10 cases from a fictional customer support chat).
Further reading: https://platform.openai.com/docs/guides/fine-tuning
Step-by-step tutorial on fine-tuning GPT: