Skip to content

Instantly share code, notes, and snippets.

@ShayneP
Created October 7, 2024 14:06
Show Gist options
  • Save ShayneP/773f8844376883e8ff7b519b0441b61c to your computer and use it in GitHub Desktop.
Save ShayneP/773f8844376883e8ff7b519b0441b61c to your computer and use it in GitHub Desktop.
Create fine tuned model
from openai import OpenAI
client = OpenAI()
client.fine_tuning.jobs.create(
training_file="mydata",
model="gpt-4o-mini-2024-07-18"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment