Unsupported Role' Error When Using Fine-Tuned Models

Hello everyone

I’ve been experimenting with fine-tuned models in the OpenAI API, but I keep running into an issue. Whenever I try to implement specific API parameters with these models, I get an ‘Unsupported Role’ error. This is holding back my project as I can’t fully utilize the customized capabilities of the fine-tuned models.

Are there specific parameters or configurations that are known to cause this issue?

Thanks!

:roll_eyes: nothing got… No Reply I want the solution

Hi!

You can find a list of all available parameters when creating a fine-tuning job in the documentation.

If you can share which parameters lead to issues in your case it will be possible for someone else to understand what the root cause is.

https://platform.openai.com/docs/api-reference/fine-tuning

The error ‘unsupported role’ sounds like an issue with the input data. You can set the system, user and assistant role when creating your fine-tuning dataset.

https://platform.openai.com/docs/guides/fine-tuning#example-format

I hope this helps.