Repairing Responses
"Teach the model, you will" - ML Yoda
Last updated
"Teach the model, you will" - ML Yoda
Last updated
Kiln offers a somewhat novel option in our "Run" UI and data model: repairs. Instead of simply evaluating/rating AI responses, we offer the ability to "repair" any responses which are reviewed less than 5-stars.
The repair process is:
Rate the model response. If the overall rating is 5-star, you're done!
A human offers repair instructions, describing what was wrong, and how it can be improved, then click "Repair".
The model generates a new response, given the prompt, initial flawed response, and the human repair instructions.
A human evaluates the response, and either accepts it as 5-star (you're done!), or returns to step 2 to iterate on repair instructions until the model can produce a 5-star response.
Repairing generates some useful data in our dataset, such as:
Examples of failures.
Feedback on failures. Specifically, feedback we know the model can understand, because it has demonstrated it can generate a 5-star response after receiving it.
More nuanced examples: the difference between a 4-star and 5-star response for the same input can be helpful for model evaluation and training.
Currently this data is used in repair prompts: a prompt style that includes both all of the data above in a multi-shot prompt format.
In the future we plan to use it in other places, like evaluations, so collecting it now will help you in the future.
You can also use this data for your own evaluation processes via our python library. For example, clustering repair feedback to identify recurring issues.
This is planned! For now, please use the repair system for corrections.