lvwerra HF staff commited on
Commit
377628e
1 Parent(s): 20f93a6

Update Space (evaluate main: c447fc8e)

Browse files
Files changed (2) hide show
  1. bleurt.py +1 -4
  2. requirements.txt +1 -1
bleurt.py CHANGED
@@ -78,16 +78,13 @@ CHECKPOINT_URLS = {
78
 
79
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
80
  class BLEURT(evaluate.Metric):
81
- ALLOWED_CONFIG_NAMES = ["default"] + list(CHECKPOINT_URLS.keys())
82
-
83
- def _info(self, config):
84
 
85
  return evaluate.MetricInfo(
86
  description=_DESCRIPTION,
87
  citation=_CITATION,
88
  homepage="https://github.com/google-research/bleurt",
89
  inputs_description=_KWARGS_DESCRIPTION,
90
- config=config,
91
  features=datasets.Features(
92
  {
93
  "predictions": datasets.Value("string", id="sequence"),
 
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",
87
  inputs_description=_KWARGS_DESCRIPTION,
 
88
  features=datasets.Features(
89
  {
90
  "predictions": datasets.Value("string", id="sequence"),
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- git+https://github.com/huggingface/evaluate@e4a2724377909fe2aeb4357e3971e5a569673b39
2
  git+https://github.com/google-research/bleurt.git
 
1
+ git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950
2
  git+https://github.com/google-research/bleurt.git