lvwerra HF staff commited on
Commit
ddd5852
·
1 Parent(s): 766af3c

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. frugalscore.py +2 -2
frugalscore.py CHANGED
@@ -55,9 +55,9 @@ Examples:
55
 
56
 
57
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
58
- class FRUGALSCORE(evaluate.EvaluationModule):
59
  def _info(self):
60
- return evaluate.EvaluationModuleInfo(
61
  description=_DESCRIPTION,
62
  citation=_CITATION,
63
  inputs_description=_KWARGS_DESCRIPTION,
 
55
 
56
 
57
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
58
+ class FRUGALSCORE(evaluate.Metric):
59
  def _info(self):
60
+ return evaluate.MetricInfo(
61
  description=_DESCRIPTION,
62
  citation=_CITATION,
63
  inputs_description=_KWARGS_DESCRIPTION,