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