In the last update, we standardized the input parameters of metric._compute_one to use names like 'pred_answer' and 'ref_answers', but the corresponding feature section in metric._info() was not updated accordingly—it still retains the old naming conventions ('answers' and 'gt_answers').
Additionally, in the newer version of the datasets package, the MetricInfo class has been deprecated and should be replaced with evaluate.MetricInfo.
In the last update, we standardized the input parameters of
metric._compute_oneto use names like 'pred_answer' and 'ref_answers', but the correspondingfeaturesection inmetric._info()was not updated accordingly—it still retains the old naming conventions ('answers' and 'gt_answers').Additionally, in the newer version of the
datasetspackage, theMetricInfoclass has been deprecated and should be replaced withevaluate.MetricInfo.