Spaces:
Running
Running
Update Space (evaluate main: a45df1eb)
Browse files
sari.py
CHANGED
@@ -258,9 +258,9 @@ def normalize(sentence, lowercase: bool = True, tokenizer: str = "13a", return_s
|
|
258 |
|
259 |
|
260 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
261 |
-
class Sari(evaluate.
|
262 |
def _info(self):
|
263 |
-
return evaluate.
|
264 |
description=_DESCRIPTION,
|
265 |
citation=_CITATION,
|
266 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
258 |
|
259 |
|
260 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
261 |
+
class Sari(evaluate.Metric):
|
262 |
def _info(self):
|
263 |
+
return evaluate.MetricInfo(
|
264 |
description=_DESCRIPTION,
|
265 |
citation=_CITATION,
|
266 |
inputs_description=_KWARGS_DESCRIPTION,
|