Datasets:
Tasks:
Text Classification
Sub-tasks:
acceptability-classification
Languages:
English
Size:
10K<n<100K
Tags:
cola
License:
Update blimp_classification.py
Browse files- blimp_classification.py +2 -18
blimp_classification.py
CHANGED
@@ -110,25 +110,9 @@ class Blimp(datasets.GeneratorBasedBuilder):
|
|
110 |
|
111 |
BUILDER_CONFIGS = [
|
112 |
BlimpConfig(
|
113 |
-
name=
|
114 |
text_features={"sentence": "sentence"},
|
115 |
-
),
|
116 |
-
BlimpConfig(
|
117 |
-
name="syntax+semantics",
|
118 |
-
text_features={"sentence": "sentence"},
|
119 |
-
),
|
120 |
-
BlimpConfig(
|
121 |
-
name="morphology",
|
122 |
-
text_features={"sentence": "text"},
|
123 |
-
),
|
124 |
-
BlimpConfig(
|
125 |
-
name="syntax",
|
126 |
-
text_features={"sentence": "sentence"},
|
127 |
-
),
|
128 |
-
BlimpConfig(
|
129 |
-
name="semantics",
|
130 |
-
text_features={"sentence": "sentence"},
|
131 |
-
),
|
132 |
]
|
133 |
|
134 |
def _info(self):
|
|
|
110 |
|
111 |
BUILDER_CONFIGS = [
|
112 |
BlimpConfig(
|
113 |
+
name=name,
|
114 |
text_features={"sentence": "sentence"},
|
115 |
+
) for name in ["semantics","syntax","morphology","syntax+semantics",="syntax_semantics"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
]
|
117 |
|
118 |
def _info(self):
|