Pierre Lepagnol
commited on
Commit
•
c50586b
1
Parent(s):
f3c4280
Fix minor bug
Browse files
wrench.py
CHANGED
@@ -23,115 +23,83 @@ class Wrench(datasets.GeneratorBasedBuilder):
|
|
23 |
"""WRENCH classification dataset."""
|
24 |
|
25 |
BUILDER_CONFIGS = [
|
26 |
-
WrenchConfig(
|
27 |
-
name="imdb",
|
28 |
-
dataset_path="./imdb",
|
29 |
-
),
|
30 |
-
WrenchConfig(
|
31 |
-
name="yelp",
|
32 |
-
dataset_path="./yelp",
|
33 |
-
),
|
34 |
-
WrenchConfig(
|
35 |
-
name="youtube",
|
36 |
-
dataset_path="./youtube",
|
37 |
-
),
|
38 |
-
WrenchConfig(
|
39 |
-
name="sms",
|
40 |
-
dataset_path="./sms",
|
41 |
-
),
|
42 |
-
WrenchConfig(
|
43 |
-
name="agnews",
|
44 |
-
dataset_path="./agnews",
|
45 |
-
),
|
46 |
-
WrenchConfig(
|
47 |
-
name="trec",
|
48 |
-
dataset_path="./trec",
|
49 |
-
),
|
50 |
-
WrenchConfig(
|
51 |
-
name="cdr",
|
52 |
-
dataset_path="./cdr",
|
53 |
-
),
|
54 |
-
WrenchConfig(
|
55 |
-
name="semeval",
|
56 |
-
dataset_path="./semeval",
|
57 |
-
),
|
58 |
WrenchConfig(
|
59 |
name="chemprot",
|
60 |
dataset_path="./chemprot",
|
61 |
),
|
62 |
-
|
63 |
name="Bioresponse",
|
64 |
dataset_path="./Bioresponse",
|
65 |
),
|
66 |
-
|
67 |
name="wikigold",
|
68 |
dataset_path="./wikigold",
|
69 |
),
|
70 |
-
|
71 |
name="PhishingWebsites",
|
72 |
dataset_path="./PhishingWebsites",
|
73 |
),
|
74 |
-
|
75 |
name="bank-marketing",
|
76 |
dataset_path="./bank-marketing",
|
77 |
-
)
|
78 |
-
|
79 |
name="spambase",
|
80 |
dataset_path="./spambase",
|
81 |
),
|
82 |
-
|
83 |
name="mit-movie",
|
84 |
dataset_path="./mit-movie",
|
85 |
-
)
|
86 |
-
|
87 |
name="basketball",
|
88 |
dataset_path="./basketball",
|
89 |
),
|
90 |
-
|
91 |
name="agnews",
|
92 |
dataset_path="./agnews",
|
93 |
),
|
94 |
-
|
95 |
name="commercial",
|
96 |
dataset_path="./commercial",
|
97 |
),
|
98 |
-
|
99 |
name="spouse",
|
100 |
dataset_path="./spouse",
|
101 |
),
|
102 |
-
|
103 |
name="mit-restaurant",
|
104 |
dataset_path="./mit-restaurant",
|
105 |
-
)
|
106 |
-
|
107 |
name="conll",
|
108 |
dataset_path="./conll",
|
109 |
),
|
110 |
-
|
111 |
name="chemprot",
|
112 |
dataset_path="./chemprot",
|
113 |
),
|
114 |
-
|
115 |
name="ncbi-diseas",
|
116 |
dataset_path="./ncbi-diseas",
|
117 |
-
)
|
118 |
-
|
119 |
name="bc5cdr",
|
120 |
dataset_path="./bc5cdr",
|
121 |
),
|
122 |
-
|
123 |
name="mushroom",
|
124 |
dataset_path="./mushroom",
|
125 |
),
|
126 |
-
|
127 |
name="laptopreview",
|
128 |
dataset_path="./laptopreview",
|
129 |
),
|
130 |
-
|
131 |
name="census",
|
132 |
dataset_path="./census",
|
133 |
),
|
134 |
-
|
135 |
name="tennis",
|
136 |
dataset_path="./tennis",
|
137 |
),
|
|
|
23 |
"""WRENCH classification dataset."""
|
24 |
|
25 |
BUILDER_CONFIGS = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
WrenchConfig(
|
27 |
name="chemprot",
|
28 |
dataset_path="./chemprot",
|
29 |
),
|
30 |
+
WrenchConfig(
|
31 |
name="Bioresponse",
|
32 |
dataset_path="./Bioresponse",
|
33 |
),
|
34 |
+
WrenchConfig(
|
35 |
name="wikigold",
|
36 |
dataset_path="./wikigold",
|
37 |
),
|
38 |
+
WrenchConfig(
|
39 |
name="PhishingWebsites",
|
40 |
dataset_path="./PhishingWebsites",
|
41 |
),
|
42 |
+
WrenchConfig(
|
43 |
name="bank-marketing",
|
44 |
dataset_path="./bank-marketing",
|
45 |
+
),
|
46 |
+
WrenchConfig(
|
47 |
name="spambase",
|
48 |
dataset_path="./spambase",
|
49 |
),
|
50 |
+
WrenchConfig(
|
51 |
name="mit-movie",
|
52 |
dataset_path="./mit-movie",
|
53 |
+
),
|
54 |
+
WrenchConfig(
|
55 |
name="basketball",
|
56 |
dataset_path="./basketball",
|
57 |
),
|
58 |
+
WrenchConfig(
|
59 |
name="agnews",
|
60 |
dataset_path="./agnews",
|
61 |
),
|
62 |
+
WrenchConfig(
|
63 |
name="commercial",
|
64 |
dataset_path="./commercial",
|
65 |
),
|
66 |
+
WrenchConfig(
|
67 |
name="spouse",
|
68 |
dataset_path="./spouse",
|
69 |
),
|
70 |
+
WrenchConfig(
|
71 |
name="mit-restaurant",
|
72 |
dataset_path="./mit-restaurant",
|
73 |
+
),
|
74 |
+
WrenchConfig(
|
75 |
name="conll",
|
76 |
dataset_path="./conll",
|
77 |
),
|
78 |
+
WrenchConfig(
|
79 |
name="chemprot",
|
80 |
dataset_path="./chemprot",
|
81 |
),
|
82 |
+
WrenchConfig(
|
83 |
name="ncbi-diseas",
|
84 |
dataset_path="./ncbi-diseas",
|
85 |
+
),
|
86 |
+
WrenchConfig(
|
87 |
name="bc5cdr",
|
88 |
dataset_path="./bc5cdr",
|
89 |
),
|
90 |
+
WrenchConfig(
|
91 |
name="mushroom",
|
92 |
dataset_path="./mushroom",
|
93 |
),
|
94 |
+
WrenchConfig(
|
95 |
name="laptopreview",
|
96 |
dataset_path="./laptopreview",
|
97 |
),
|
98 |
+
WrenchConfig(
|
99 |
name="census",
|
100 |
dataset_path="./census",
|
101 |
),
|
102 |
+
WrenchConfig(
|
103 |
name="tennis",
|
104 |
dataset_path="./tennis",
|
105 |
),
|