Spaces:
Running
Running
Update Space (evaluate main: a45df1eb)
Browse files- 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.
|
89 |
def _info(self):
|
90 |
-
return evaluate.
|
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,
|