lvwerra HF staff commited on
Commit
051b2d9
1 Parent(s): fd74025

Update Space (evaluate main: c447fc8e)

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. trec_eval.py +1 -4
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- git+https://github.com/huggingface/evaluate@e4a2724377909fe2aeb4357e3971e5a569673b39
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
- ALLOWED_CONFIG_NAMES = ["default"]
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": {