Ian Borrego Obrador commited on
Commit
2f82525
1 Parent(s): 1a07572
Files changed (1) hide show
  1. classification_evaluator.py +1 -1
classification_evaluator.py CHANGED
@@ -51,7 +51,7 @@ class ClassificationEvaluator(evaluate.Metric):
51
  ),
52
  )
53
 
54
- def _compute(self, predictions, references):
55
 
56
  accuracy = accuracy_score(references, predictions, normalize=True, sample_weight=None)
57
 
 
51
  ),
52
  )
53
 
54
+ def _compute(self, predictions, references, **eval_kwargs):
55
 
56
  accuracy = accuracy_score(references, predictions, normalize=True, sample_weight=None)
57