Spaces:
Running
Running
Commit
·
17791be
1
Parent(s):
4a28069
imdb
Browse files- evaluation-suite-ci.py +2 -2
evaluation-suite-ci.py
CHANGED
@@ -18,7 +18,7 @@ class Suite(evaluate.EvaluationSuite):
|
|
18 |
"metric": "accuracy",
|
19 |
"input_column": "text",
|
20 |
"label_column": "label",
|
21 |
-
"label_mapping": {"
|
22 |
}
|
23 |
),
|
24 |
SubTask(
|
@@ -30,7 +30,7 @@ class Suite(evaluate.EvaluationSuite):
|
|
30 |
"metric": "accuracy",
|
31 |
"input_column": "text",
|
32 |
"label_column": "label",
|
33 |
-
"label_mapping": {"
|
34 |
}
|
35 |
)
|
36 |
]
|
|
|
18 |
"metric": "accuracy",
|
19 |
"input_column": "text",
|
20 |
"label_column": "label",
|
21 |
+
"label_mapping": {"NEGATIVE": 0.0, "POSITIVE": 1.0}
|
22 |
}
|
23 |
),
|
24 |
SubTask(
|
|
|
30 |
"metric": "accuracy",
|
31 |
"input_column": "text",
|
32 |
"label_column": "label",
|
33 |
+
"label_mapping": {"NEGATIVE": 0.0, "POSITIVE": 1.0}
|
34 |
}
|
35 |
)
|
36 |
]
|