lvwerra HF staff commited on
Commit
2d32b7a
1 Parent(s): 7a877e3

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. bleurt.py +2 -2
bleurt.py CHANGED
@@ -77,10 +77,10 @@ CHECKPOINT_URLS = {
77
 
78
 
79
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
80
- class BLEURT(evaluate.EvaluationModule):
81
  def _info(self):
82
 
83
- return evaluate.EvaluationModuleInfo(
84
  description=_DESCRIPTION,
85
  citation=_CITATION,
86
  homepage="https://github.com/google-research/bleurt",
 
77
 
78
 
79
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
80
+ class BLEURT(evaluate.Metric):
81
  def _info(self):
82
 
83
+ return evaluate.MetricInfo(
84
  description=_DESCRIPTION,
85
  citation=_CITATION,
86
  homepage="https://github.com/google-research/bleurt",