Spaces:
Build error
Build error
Ian Borrego Obrador
commited on
Commit
·
2f82525
1
Parent(s):
1a07572
small fix
Browse files
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 |
|