Commit
·
70fe851
1
Parent(s):
19f0e69
updated the script
Browse files
Controlled-Text-Reduction-dataset.py
CHANGED
@@ -393,21 +393,21 @@ class ControlledTectReduction(datasets.GeneratorBasedBuilder):
|
|
393 |
name=datasets.Split.TRAIN,
|
394 |
# These kwargs will be passed to _generate_examples
|
395 |
gen_kwargs={
|
396 |
-
"
|
397 |
},
|
398 |
),
|
399 |
datasets.SplitGenerator(
|
400 |
name=datasets.Split.VALIDATION,
|
401 |
# These kwargs will be passed to _generate_examples
|
402 |
gen_kwargs={
|
403 |
-
"
|
404 |
},
|
405 |
),
|
406 |
datasets.SplitGenerator(
|
407 |
name=datasets.Split.TEST,
|
408 |
# These kwargs will be passed to _generate_examples
|
409 |
gen_kwargs={
|
410 |
-
"
|
411 |
},
|
412 |
),
|
413 |
]
|
|
|
393 |
name=datasets.Split.TRAIN,
|
394 |
# These kwargs will be passed to _generate_examples
|
395 |
gen_kwargs={
|
396 |
+
"filepath": corpora["train_DUC-2001-2002"],
|
397 |
},
|
398 |
),
|
399 |
datasets.SplitGenerator(
|
400 |
name=datasets.Split.VALIDATION,
|
401 |
# These kwargs will be passed to _generate_examples
|
402 |
gen_kwargs={
|
403 |
+
"filepath": corpora["dev_DUC-2001-2002"],
|
404 |
},
|
405 |
),
|
406 |
datasets.SplitGenerator(
|
407 |
name=datasets.Split.TEST,
|
408 |
# These kwargs will be passed to _generate_examples
|
409 |
gen_kwargs={
|
410 |
+
"filepath": corpora["test_DUC-2001-2002"],
|
411 |
},
|
412 |
),
|
413 |
]
|