Spaces:
Runtime error
Runtime error
Update Space (evaluate main: c447fc8e)
Browse files- cuad.py +1 -5
- 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@
|
|
|
|
| 1 |
+
git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950
|