lvwerra HF staff commited on
Commit
4c5bae1
1 Parent(s): e636c16

Update Space (evaluate main: c447fc8e)

Browse files
Files changed (2) hide show
  1. cuad.py +1 -5
  2. requirements.txt +1 -1
cuad.py CHANGED
@@ -70,15 +70,11 @@ Examples:
70
 
71
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
72
  class CUAD(evaluate.Metric):
73
-
74
- ALLOWED_CONFIG_NAMES = ["default"]
75
-
76
- def _info(self, config):
77
  return evaluate.MetricInfo(
78
  description=_DESCRIPTION,
79
  citation=_CITATION,
80
  inputs_description=_KWARGS_DESCRIPTION,
81
- config=config,
82
  features=datasets.Features(
83
  {
84
  "predictions": {
 
70
 
71
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
72
  class CUAD(evaluate.Metric):
73
+ def _info(self):
 
 
 
74
  return evaluate.MetricInfo(
75
  description=_DESCRIPTION,
76
  citation=_CITATION,
77
  inputs_description=_KWARGS_DESCRIPTION,
 
78
  features=datasets.Features(
79
  {
80
  "predictions": {
requirements.txt CHANGED
@@ -1 +1 @@
1
- git+https://github.com/huggingface/evaluate@e4a2724377909fe2aeb4357e3971e5a569673b39
 
1
+ git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950