Commit
·
76f5c07
1
Parent(s):
b6f31bf
Controlled-Text-Reduction-dataset.py
CHANGED
|
@@ -416,21 +416,7 @@ class ControlledTectReduction(datasets.GeneratorBasedBuilder):
|
|
| 416 |
gen_kwargs={
|
| 417 |
"filepath": corpora["train"]
|
| 418 |
},
|
| 419 |
-
)
|
| 420 |
-
datasets.SplitGenerator(
|
| 421 |
-
name=datasets.Split.VALIDATION,
|
| 422 |
-
# These kwargs will be passed to _generate_examples
|
| 423 |
-
gen_kwargs={
|
| 424 |
-
"filepath": corpora["dev"]
|
| 425 |
-
},
|
| 426 |
-
),
|
| 427 |
-
datasets.SplitGenerator(
|
| 428 |
-
name=datasets.Split.TEST,
|
| 429 |
-
# These kwargs will be passed to _generate_examples
|
| 430 |
-
gen_kwargs={
|
| 431 |
-
"filepath": corpora["test"]
|
| 432 |
-
},
|
| 433 |
-
),
|
| 434 |
]
|
| 435 |
else:
|
| 436 |
|
|
|
|
| 416 |
gen_kwargs={
|
| 417 |
"filepath": corpora["train"]
|
| 418 |
},
|
| 419 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 420 |
]
|
| 421 |
else:
|
| 422 |
|