lvwerra HF staff commited on
Commit
189280e
1 Parent(s): 5f757f8

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. rouge.py +2 -2
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.EvaluationModule):
85
  def _info(self):
86
- return evaluate.EvaluationModuleInfo(
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,