for windows
Browse files- arxiv-summarization.py +3 -3
arxiv-summarization.py
CHANGED
@@ -88,9 +88,9 @@ class ArxivSummarizationDataset(datasets.GeneratorBasedBuilder):
|
|
88 |
|
89 |
def _split_generators(self, dl_manager):
|
90 |
|
91 |
-
train_path = dl_manager.download_and_extract(self._TRAIN_FILE)
|
92 |
-
val_path = dl_manager.download_and_extract(self._VAL_FILE)
|
93 |
-
test_path = dl_manager.download_and_extract(self._TEST_FILE)
|
94 |
|
95 |
return [
|
96 |
datasets.SplitGenerator(
|
|
|
88 |
|
89 |
def _split_generators(self, dl_manager):
|
90 |
|
91 |
+
train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train.txt")
|
92 |
+
val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "val.txt")
|
93 |
+
test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test.txt")
|
94 |
|
95 |
return [
|
96 |
datasets.SplitGenerator(
|