Spaces:
Running
Running
Update Space (evaluate main: c447fc8e)
Browse files- requirements.txt +1 -1
- trec_eval.py +1 -4
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
git+https://github.com/huggingface/evaluate@
|
| 2 |
trectools
|
|
|
|
| 1 |
+
git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950
|
| 2 |
trectools
|
trec_eval.py
CHANGED
|
@@ -71,15 +71,12 @@ Examples:
|
|
| 71 |
class TRECEval(evaluate.Metric):
|
| 72 |
"""Compute TREC evaluation scores."""
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
def _info(self, config):
|
| 77 |
return evaluate.MetricInfo(
|
| 78 |
module_type="metric",
|
| 79 |
description=_DESCRIPTION,
|
| 80 |
citation=_CITATION,
|
| 81 |
inputs_description=_KWARGS_DESCRIPTION,
|
| 82 |
-
config=config,
|
| 83 |
features=datasets.Features(
|
| 84 |
{
|
| 85 |
"predictions": {
|
|
|
|
| 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,
|
| 79 |
inputs_description=_KWARGS_DESCRIPTION,
|
|
|
|
| 80 |
features=datasets.Features(
|
| 81 |
{
|
| 82 |
"predictions": {
|