Error: That model does not exist (HTTP status code: 404), but it DOES exist!

I fine-tuned the davinci model with this command:

openai api fine_tunes.create -t ./sql_finetune.jsonl -m davinci

After a while, I was able to execute

openai api fine_tunes.get -i ft-Q6dZms23dQdlkBvBIcM7983l

and see this

result_files": [
“bytes”: 1370,
“created_at”: 1671735102,
“filename”: “compiled_results.csv”,
“id”: “file-XECcknYqLFN9crSZH0UCfPsS”,
“object”: “file”,
“purpose”: “fine-tune-results”,
“status”: “processed”,
“status_details”: null
“status”: “succeeded”,
“training_files”: [
“bytes”: 1023,
“created_at”: 1671726002,
“filename”: “./sql_finetune.jsonl”,
“id”: “file-skxxIxIHtRwBo7YGO2DY7Sa3”,
“object”: “file”,
“purpose”: “fine-tune”,
“status”: “processed”,
“status_details”: null
“updated_at”: 1671735103,

…so it appears that the model was successfully created, yet when I try to use it with the command

openai api completions.create -m ft-Q6dZms23dQdlkBvBIcM7983l -p “Get count of the Workers whose SALARY is more than 5000.”

I get this error message:

Error: That model does not exist (HTTP status code: 404)

Any idea why I can’t find the model? Thanks in advance!!

1 Like

Is the fine-tuned model showing up in Playground with the other models?

Could there be a mistake in the name?

1 Like


Thank you for pointing me in the right direction. Upon careful examination of the result object, I found the correct filename. I had confused the fine tune job id with the filename.

Thanks for your time and expertise!

1 Like

No problem. Good to hear!

Hopefully, one day you’ll be able to do the same for another AI-naut!

Have a great weekend!