https://platform.openai.com/docs/guides/fine-tuning
Looks like you are looking for this then.
Happy coding