lvwerra HF staff commited on
Commit
8809a49
1 Parent(s): 05297cf

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. wer.py +2 -2
wer.py CHANGED
@@ -75,9 +75,9 @@ Examples:
75
 
76
 
77
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
78
- class WER(evaluate.EvaluationModule):
79
  def _info(self):
80
- return evaluate.EvaluationModuleInfo(
81
  description=_DESCRIPTION,
82
  citation=_CITATION,
83
  inputs_description=_KWARGS_DESCRIPTION,
 
75
 
76
 
77
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
78
+ class WER(evaluate.Metric):
79
  def _info(self):
80
+ return evaluate.MetricInfo(
81
  description=_DESCRIPTION,
82
  citation=_CITATION,
83
  inputs_description=_KWARGS_DESCRIPTION,