Spaces:
Runtime error
Runtime error
Update Space (evaluate main: a45df1eb)
Browse files
rouge.py
CHANGED
@@ -81,9 +81,9 @@ Examples:
|
|
81 |
|
82 |
|
83 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
84 |
-
class Rouge(evaluate.
|
85 |
def _info(self):
|
86 |
-
return evaluate.
|
87 |
description=_DESCRIPTION,
|
88 |
citation=_CITATION,
|
89 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
81 |
|
82 |
|
83 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
84 |
+
class Rouge(evaluate.Metric):
|
85 |
def _info(self):
|
86 |
+
return evaluate.MetricInfo(
|
87 |
description=_DESCRIPTION,
|
88 |
citation=_CITATION,
|
89 |
inputs_description=_KWARGS_DESCRIPTION,
|