Spaces:
Sleeping
Sleeping
Commit
·
fff21b1
1
Parent(s):
31062ff
small fix
Browse files- textgen_evaluator.py +1 -5
textgen_evaluator.py
CHANGED
@@ -48,13 +48,9 @@ Returns:
|
|
48 |
rougeLsum: rouge_lsum (precision, recall, f1)
|
49 |
"""
|
50 |
|
51 |
-
|
52 |
-
@datasets.utils.file_utils.add_start_docstrings(
|
53 |
-
_DESCRIPTION, _KWARGS_DESCRIPTION
|
54 |
-
)
|
55 |
class TextGenEvaluatorTest(evaluate.Metric):
|
56 |
def _info(self):
|
57 |
-
return
|
58 |
description=_DESCRIPTION,
|
59 |
citation=_CITATION,
|
60 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
48 |
rougeLsum: rouge_lsum (precision, recall, f1)
|
49 |
"""
|
50 |
|
|
|
|
|
|
|
|
|
51 |
class TextGenEvaluatorTest(evaluate.Metric):
|
52 |
def _info(self):
|
53 |
+
return evaluate.MetricInfo(
|
54 |
description=_DESCRIPTION,
|
55 |
citation=_CITATION,
|
56 |
inputs_description=_KWARGS_DESCRIPTION,
|