Spaces:
Running
Running
Update Space (evaluate main: a45df1eb)
Browse files
xnli.py
CHANGED
@@ -67,9 +67,9 @@ def simple_accuracy(preds, labels):
|
|
67 |
|
68 |
|
69 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
70 |
-
class Xnli(evaluate.
|
71 |
def _info(self):
|
72 |
-
return evaluate.
|
73 |
description=_DESCRIPTION,
|
74 |
citation=_CITATION,
|
75 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
67 |
|
68 |
|
69 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
70 |
+
class Xnli(evaluate.Metric):
|
71 |
def _info(self):
|
72 |
+
return evaluate.MetricInfo(
|
73 |
description=_DESCRIPTION,
|
74 |
citation=_CITATION,
|
75 |
inputs_description=_KWARGS_DESCRIPTION,
|