Datasets:
update reader
Browse files- zero_scrolls.py +7 -0
zero_scrolls.py
CHANGED
@@ -449,6 +449,13 @@ class ZeroScrolls(datasets.GeneratorBasedBuilder):
|
|
449 |
data_files[split] = paths[0]
|
450 |
|
451 |
return [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
datasets.SplitGenerator(
|
453 |
name=datasets.Split.TEST,
|
454 |
gen_kwargs={
|
|
|
449 |
data_files[split] = paths[0]
|
450 |
|
451 |
return [
|
452 |
+
datasets.SplitGenerator(
|
453 |
+
name=datasets.Split.VALIDATION,
|
454 |
+
gen_kwargs={
|
455 |
+
"data_file": os.path.join(dl_dir, "validation.jsonl"),
|
456 |
+
"split": datasets.Split.VALIDATION,
|
457 |
+
},
|
458 |
+
),
|
459 |
datasets.SplitGenerator(
|
460 |
name=datasets.Split.TEST,
|
461 |
gen_kwargs={
|