lvwerra HF staff commited on
Commit
34c0430
1 Parent(s): b05a1ce

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. perplexity.py +2 -2
perplexity.py CHANGED
@@ -85,9 +85,9 @@ Examples:
85
 
86
 
87
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
88
- class Perplexity(evaluate.EvaluationModule):
89
  def _info(self):
90
- return evaluate.EvaluationModuleInfo(
91
  module_type="metric",
92
  description=_DESCRIPTION,
93
  citation=_CITATION,
 
85
 
86
 
87
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
88
+ class Perplexity(evaluate.Metric):
89
  def _info(self):
90
+ return evaluate.MetricInfo(
91
  module_type="metric",
92
  description=_DESCRIPTION,
93
  citation=_CITATION,