"The specified base model does not support fine-tuning" error when trying to fine tune gpt-35-turbo using rest API

Sunanda Varma 20 Reputation points
2024-04-04T05:01:21.28+00:00

Hi,

We are trying to fine tune the "gpt-35-turbo" model programmatically using rest API with the resource in Sweden Central region. API url: https://xxxx.openai.azure.com/openai/fine-tunes?api-version=2023-07-01-preview Model details: { model = "gpt-35-turbo", training_file = "file-fileId" };

response = httpClient.PostAsync(url, httpContent).GetAwaiter().GetResult();

Encountered the below error.

"error": { "code": "invalidPayload", "message": "The specified base model does not support fine-tuning." }

when we try to create a fine tune job with model “gpt-35-turbo-0613”, got the below error

“The given base model is not supported on fine-tunes api route”.

We tried with gpt-35-turbo-0613 and gpt-35-turbo-1106 and gpt-35-turbo models and encountered the same issue.

please note, we are able to create a custom fine tune model and also a deployment using this fine-tuned model from portal directly(not through rest API).

Please advise on how to fine tune "gpt-35-turbo" model using rest API

Thanks,

Sunanda

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,265 questions
{count} votes