Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
updated
Browse files
humaid.py
CHANGED
@@ -174,7 +174,7 @@ class HumAID(datasets.GeneratorBasedBuilder):
|
|
174 |
name=datasets.Split.TRAIN,
|
175 |
# These kwargs will be passed to _generate_examples
|
176 |
gen_kwargs={
|
177 |
-
"filepath": os.path.join(data_dir, "
|
178 |
"split": "train",
|
179 |
},
|
180 |
),
|
@@ -182,7 +182,7 @@ class HumAID(datasets.GeneratorBasedBuilder):
|
|
182 |
name=datasets.Split.TEST,
|
183 |
# These kwargs will be passed to _generate_examples
|
184 |
gen_kwargs={
|
185 |
-
"filepath": os.path.join(data_dir, "
|
186 |
"split": "test"
|
187 |
},
|
188 |
),
|
@@ -190,7 +190,7 @@ class HumAID(datasets.GeneratorBasedBuilder):
|
|
190 |
name=datasets.Split.VALIDATION,
|
191 |
# These kwargs will be passed to _generate_examples
|
192 |
gen_kwargs={
|
193 |
-
"filepath": os.path.join(data_dir, "
|
194 |
"split": "dev",
|
195 |
},
|
196 |
),
|
|
|
174 |
name=datasets.Split.TRAIN,
|
175 |
# These kwargs will be passed to _generate_examples
|
176 |
gen_kwargs={
|
177 |
+
"filepath": os.path.join(data_dir, "train.jsonl"),
|
178 |
"split": "train",
|
179 |
},
|
180 |
),
|
|
|
182 |
name=datasets.Split.TEST,
|
183 |
# These kwargs will be passed to _generate_examples
|
184 |
gen_kwargs={
|
185 |
+
"filepath": os.path.join(data_dir, "test.jsonl"),
|
186 |
"split": "test"
|
187 |
},
|
188 |
),
|
|
|
190 |
name=datasets.Split.VALIDATION,
|
191 |
# These kwargs will be passed to _generate_examples
|
192 |
gen_kwargs={
|
193 |
+
"filepath": os.path.join(data_dir, "dev.jsonl"),
|
194 |
"split": "dev",
|
195 |
},
|
196 |
),
|