Closed BenediktStuhrmann closed 1 year ago
We only need the id (of the sample in the respective dataset) and the prediction of the model. (remove question, context, reference_aswers etc.)
The prediction of the query endpoint seems to always consist out of:
"prediction_output" :{ "output":"Don Mueller", "output_score":0.2426052987575531 }
So it would make sense to simply save it like that.
Basically: Instead of using PredictionAnswer for saving, use PredictionOutput => see here.
PredictionAnswer
PredictionOutput
We only need the id (of the sample in the respective dataset) and the prediction of the model. (remove question, context, reference_aswers etc.)
The prediction of the query endpoint seems to always consist out of:
So it would make sense to simply save it like that.