lvwerra HF staff commited on
Commit
3fb8bee
1 Parent(s): 3914667

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. comet.py +2 -2
comet.py CHANGED
@@ -107,10 +107,10 @@ Examples:
107
 
108
 
109
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
110
- class COMET(evaluate.EvaluationModule):
111
  def _info(self):
112
 
113
- return evaluate.EvaluationModuleInfo(
114
  description=_DESCRIPTION,
115
  citation=_CITATION,
116
  homepage="https://unbabel.github.io/COMET/html/index.html",
 
107
 
108
 
109
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
110
+ class COMET(evaluate.Metric):
111
  def _info(self):
112
 
113
+ return evaluate.MetricInfo(
114
  description=_DESCRIPTION,
115
  citation=_CITATION,
116
  homepage="https://unbabel.github.io/COMET/html/index.html",