lvwerra HF staff commited on
Commit
c322a23
1 Parent(s): 559c504

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. cer.py +2 -2
cer.py CHANGED
@@ -116,9 +116,9 @@ Examples:
116
 
117
 
118
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
119
- class CER(evaluate.EvaluationModule):
120
  def _info(self):
121
- return evaluate.EvaluationModuleInfo(
122
  description=_DESCRIPTION,
123
  citation=_CITATION,
124
  inputs_description=_KWARGS_DESCRIPTION,
 
116
 
117
 
118
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
119
+ class CER(evaluate.Metric):
120
  def _info(self):
121
+ return evaluate.MetricInfo(
122
  description=_DESCRIPTION,
123
  citation=_CITATION,
124
  inputs_description=_KWARGS_DESCRIPTION,