Datasets:
QCRI
/

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
Firoj commited on
Commit
084936f
1 Parent(s): 54eee82

updated data loader script

Browse files
Files changed (1) hide show
  1. HumAID.py +3 -3
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, "humaid_data_all/train.jsonl"),
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, "humaid_data_all/test.jsonl"),
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, "humaid_data_all/dev.jsonl"),
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
  ),