I want to finetune one openai model on my data, for that I gave this command (as per openai docs)
openai api fine_tunes.create -t "abc_700_prepared_train.jsonl" -v "abc_700_prepared_valid.jsonl" --compute_classification_metrics --classification_n_classes 5
But this error is coming
usage: openai api [-h]
{chat.completions.create,images.generate,images.edit,images.create_variation,audio.transcriptions.create,audio.translations.create,files.create,files.retrieve,files.delete,files.list,models.list,models.retrieve,models.delete,completions.create}
...
openai api: error: argument {chat.completions.create,images.generate,images.edit,images.create_variation,audio.transcriptions.create,audio.translations.create,files.create,files.retrieve,files.delete,files.list,models.list,models.retrieve,models.delete,completions.create}: invalid choice: 'fine_tunes.create' (choose from 'chat.completions.create', 'images.generate', 'images.edit', 'images.create_variation', 'audio.transcriptions.create', 'audio.translations.create', 'files.create', 'files.retrieve', 'files.delete', 'files.list', 'models.list', 'models.retrieve', 'models.delete', 'completions.create')
Not sure why is this coming. As per openai docs link, still this fine-tunes.create works.Can anyone help me on this? `
I am expecting a finetuned ada model, after giving that command. A few months before I did the same way and it worked now it is not coming.
Haven't you execute command below for these few months?
Downgrading will be a solution. 0.28.1 is the version provided in the latter half of September, 2023.
After downgrading,
openai api fine_tunes.create
will work.However, you may encounter another error.