Spaces:
Running
Running
Commit
·
26431f6
1
Parent(s):
d28c578
more data?
Browse files- evaluation-suite-ci.py +17 -17
evaluation-suite-ci.py
CHANGED
@@ -16,27 +16,27 @@ class Suite(evaluate.EvaluationSuite):
|
|
16 |
data_preprocessor=self.preprocessor,
|
17 |
args_for_task={
|
18 |
"metric": "accuracy",
|
19 |
-
|
20 |
-
|
21 |
"label_mapping": {
|
22 |
"LABEL_0": 0.0,
|
23 |
"LABEL_1": 1.0
|
24 |
}
|
25 |
}
|
26 |
),
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
]
|
|
|
16 |
data_preprocessor=self.preprocessor,
|
17 |
args_for_task={
|
18 |
"metric": "accuracy",
|
19 |
+
"input_column": "text",
|
20 |
+
"label_column": "label",
|
21 |
"label_mapping": {
|
22 |
"LABEL_0": 0.0,
|
23 |
"LABEL_1": 1.0
|
24 |
}
|
25 |
}
|
26 |
),
|
27 |
+
SubTask(
|
28 |
+
task_type="text-classification",
|
29 |
+
data="imdb",
|
30 |
+
split="test[:2]",
|
31 |
+
data_preprocessor=None,
|
32 |
+
args_for_task={
|
33 |
+
"metric": "accuracy",
|
34 |
+
"input_column": "text",
|
35 |
+
"label_column": "label",
|
36 |
+
"label_mapping": {
|
37 |
+
"LABEL_0": 0.0,
|
38 |
+
"LABEL_1": 1.0
|
39 |
+
}
|
40 |
+
}
|
41 |
+
)
|
42 |
]
|