sileod commited on
Commit
9696f56
·
1 Parent(s): 1ffd6eb

Update blimp_classification.py

Browse files
Files changed (1) hide show
  1. 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="syntax_semantics",
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):