Commit c08b2d9d authored by FarzanehNakhaee's avatar FarzanehNakhaee
Browse files

Remove **self._metric_kwargs[key] from compute as it wasn't existed

parent f1d251ca
...@@ -868,7 +868,7 @@ class ConfigurableTask(Task): ...@@ -868,7 +868,7 @@ class ConfigurableTask(Task):
for key, result in zip(self._metric_fn_list.keys(), results): for key, result in zip(self._metric_fn_list.keys(), results):
_dict = self._metric_fn_list[key].compute( _dict = self._metric_fn_list[key].compute(
references=[gold], predictions=[result], **self._metric_kwargs[key] references=[gold], predictions=[result]
) )
result_dict = {**result_dict, **_dict} result_dict = {**result_dict, **_dict}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment