#Create fine tuned model in Python

2 messages · Page 1 of 1 (latest)

knotty hill
#

Is there any way to create a fine tuned model in a python script?

long rampart
#

first thing is to get a set of data in a prompt/completion sets, then you can run a couple of commands in the termnal to prepare it and feed it to openai to create the model.
openai tools fine_tunes.prepare_data -f "file_name"
openai api fine_tunes.create -t "prepared_file_name" -m <model you want to make like davinci or whatever>