Spaces:
Running
Running
Update Space (evaluate main: a45df1eb)
Browse files- trec_eval.py +2 -2
trec_eval.py
CHANGED
@@ -68,11 +68,11 @@ Examples:
|
|
68 |
|
69 |
|
70 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
71 |
-
class TRECEval(evaluate.
|
72 |
"""Compute TREC evaluation scores."""
|
73 |
|
74 |
def _info(self):
|
75 |
-
return evaluate.
|
76 |
module_type="metric",
|
77 |
description=_DESCRIPTION,
|
78 |
citation=_CITATION,
|
|
|
68 |
|
69 |
|
70 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
71 |
+
class TRECEval(evaluate.Metric):
|
72 |
"""Compute TREC evaluation scores."""
|
73 |
|
74 |
def _info(self):
|
75 |
+
return evaluate.MetricInfo(
|
76 |
module_type="metric",
|
77 |
description=_DESCRIPTION,
|
78 |
citation=_CITATION,
|