Datasets:
for windows
Browse files
govreport-summarization.py
CHANGED
@@ -69,9 +69,9 @@ class GovReportSummarizationDataset(datasets.GeneratorBasedBuilder):
|
|
69 |
|
70 |
def _split_generators(self, dl_manager):
|
71 |
|
72 |
-
train_path = dl_manager.download_and_extract(self._TRAIN_FILE)
|
73 |
-
val_path = dl_manager.download_and_extract(self._VAL_FILE)
|
74 |
-
test_path = dl_manager.download_and_extract(self._TEST_FILE)
|
75 |
|
76 |
return [
|
77 |
datasets.SplitGenerator(
|
|
|
69 |
|
70 |
def _split_generators(self, dl_manager):
|
71 |
|
72 |
+
train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train.txt")
|
73 |
+
val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "valid.txt")
|
74 |
+
test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test.txt")
|
75 |
|
76 |
return [
|
77 |
datasets.SplitGenerator(
|