Error in "compute_classification_metrics" paramether

Nunzio Canduci 5 Reputation points
2023-01-12T14:06:04.9566667+00:00

Hi all, I don't understand one thing. Following the guide link, I tried to perform the Fine Tuning operation with the Open Ai service, but, when I go to specify the compute_classification_metrics parameter in the arguments (as present in the guide) and the classification_n_classes parameter, after the training operation, in the model result, these parameters are set to false.

If, on the contrary, I try to insert these two parameters inside hyperparams field, the model fails the training phase.

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

1 answer

Sort by: Most helpful
  1. Abhishek Pareek 0 Reputation points
    2023-01-27T08:44:21.47+00:00

    We are also facing the same issue, submitted the job using pyhton with the Args

    create_args = {
        "training_file": training_id,
        "validation_file": validation_id,
        "model": "curie",
        "compute_classification_metrics": True,
        "classification_n_classes": 3
    }
    

    Getting errors as shown in the attached screenshot.

    With the same training file and validation file the job runs sucessfully from console without the parameters for

      "compute_classification_metrics": True,
    
        "classification_n_classes": 3
    

    I appreciate your response.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.