Spaces:
Runtime error
Runtime error
Update Space (evaluate main: a45df1eb)
Browse files
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.
|
111 |
def _info(self):
|
112 |
|
113 |
-
return evaluate.
|
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",
|