"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-02-27T07:00:42.69+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 I try to create a fine tune job with model as “gpt-35-turbo-0613”, getting the error as “The given base model is not supported on fine-tunes api route”. Please advise on how to fine tune "gpt-35-turbo" model Regards, Sunanda.

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

2 answers

Sort by: Most helpful
  1. Ramr-msft 17,631 Reputation points
    2024-03-04T04:24:54.8933333+00:00

    Thanks for the details, you need Cognitive Services OpenAI Contributor assigned. Even someone with high-level Service Administrator permissions would still need this account explicitly set in order to access fine-tuning. For more information, please review the role-based access control guidance.


  2. Sunanda Varma 20 Reputation points
    2024-03-11T05:11:39.8533333+00:00

    Thanks for the reply, am able to create a custom fine tune model and also a deployment using this fine-tuned model from portal. So, are you saying Cognitive Services OpenAI Contributor assignment is needed only when fine tuning model using rest API?