An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Hi Eli KlingIt seems like you're facing issues with the Grader schema for Reinforcement Fine-Tuning (RFT).
Here are some steps:
To choose the appropriate grader for your task, consider its nature. If you need specific answer classification, a string-check grader is the right choice. Each line in your JSONL file must contain a valid JSON object, ensuring that the messages field is formatted correctly and that the final message is from the user. Additionally, your grader should have the correct input and reference fields.
{
"type": "string_check",
"name": "product_classification_grader",
"input": "{{item.reference_answer}}",
"reference": "{{sample.output_text}}",
"operation": "eq"
}
If you wish to include a confidence score in your output, make sure your model is trained to provide it, as the grader itself does not handle this feature. Before running your training job, it is essential to test your grader using a validation dataset to confirm its expected behavior. You can also leverage the grader check API to validate your configuration and ensure accuracy.
Kindly refer below link: graders
Thank You.