Spaces:
Running
Running
Commit
·
79b3508
1
Parent(s):
17791be
test empty
Browse files- evaluation-suite-ci.py +27 -26
evaluation-suite-ci.py
CHANGED
@@ -8,29 +8,30 @@ class Suite(evaluate.EvaluationSuite):
|
|
8 |
super().__init__(name)
|
9 |
|
10 |
self.preprocessor = lambda x: {"text": x["text"].lower()}
|
11 |
-
self.suite = [
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
8 |
super().__init__(name)
|
9 |
|
10 |
self.preprocessor = lambda x: {"text": x["text"].lower()}
|
11 |
+
self.suite = []
|
12 |
+
# self.suite = [
|
13 |
+
# SubTask(
|
14 |
+
# task_type="text-classification",
|
15 |
+
# data="imdb",
|
16 |
+
# split="test[:2]",
|
17 |
+
# data_preprocessor=self.preprocessor,
|
18 |
+
# args_for_task={
|
19 |
+
# "metric": "accuracy",
|
20 |
+
# "input_column": "text",
|
21 |
+
# "label_column": "label",
|
22 |
+
# "label_mapping": {"NEGATIVE": 0.0, "POSITIVE": 1.0}
|
23 |
+
# }
|
24 |
+
# ),
|
25 |
+
# SubTask(
|
26 |
+
# task_type="text-classification",
|
27 |
+
# data="imdb",
|
28 |
+
# split="test[:2]",
|
29 |
+
# data_preprocessor=None,
|
30 |
+
# args_for_task={
|
31 |
+
# "metric": "accuracy",
|
32 |
+
# "input_column": "text",
|
33 |
+
# "label_column": "label",
|
34 |
+
# "label_mapping": {"NEGATIVE": 0.0, "POSITIVE": 1.0}
|
35 |
+
# }
|
36 |
+
# )
|
37 |
+
# ]
|