Entering finetuned model into chat.completion

Hey guys,

I’m finetuning a model and get this error

Error code: 404 - {‘error’: {‘message’: ‘The model XXX does not exist or you do not have access to it.’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: ‘model_not_found’}}

I think I’m not entering the propoer name of the finetuned model, which should have the following structure: ft:model:my-org:custom_suffix:id.

It’s possible I’m not entering the propoer custom_suffix? that’s the only element in the job I cannot find so I’m simply entering the suffix I gave to the finetuning command.

Thanks for helping this lost user.

The error you’re encountering, Error code: 404 - {'error': {'message': 'The model XXX does not exist or you do not have access to it.'}}, indicates that the model you’re trying to access is either not available or you don’t have the proper access rights.

Here are some things you can check and try:

  1. Model Name and Structure: Ensure that the model name you are using is in the correct format. As you mentioned, the format should be ft:model:my-org:custom_suffix:id. Double-check for typos or incorrect segments in this structure.

  2. Custom Suffix: Verify that the custom suffix you provided matches exactly with what was used during the finetuning process. The custom suffix is crucial for identifying the model.

  3. Access Permissions: Make sure you have the necessary permissions to access the model. Sometimes access issues can result from insufficient permissions or an incorrect API key.

  4. Model Existence: Confirm that the model you’re trying to access actually exists. It might be helpful to list all available models or check your account or project settings to see if the model is correctly registered.

  5. API Documentation and Support: Consult the API documentation for any specifics about model naming and access. If you’re still stuck, reaching out to the support team of the API service might provide additional guidance.

By verifying these aspects, you should be able to resolve the issue and access your finetuned model successfully.

Thanks! I think I have issues with the format of the json file… fixing it now! Thanks