for windows
Browse files- mediasum.py +3 -3
mediasum.py
CHANGED
@@ -104,9 +104,9 @@ class MediaSumSummarizationDataset(datasets.GeneratorBasedBuilder):
|
|
104 |
|
105 |
def _split_generators(self, dl_manager):
|
106 |
|
107 |
-
train_path = dl_manager.download_and_extract(self._TRAIN_FILE)
|
108 |
-
val_path = dl_manager.download_and_extract(self._VAL_FILE)
|
109 |
-
test_path = dl_manager.download_and_extract(self._TEST_FILE)
|
110 |
|
111 |
return [
|
112 |
datasets.SplitGenerator(
|
|
|
104 |
|
105 |
def _split_generators(self, dl_manager):
|
106 |
|
107 |
+
train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train_data.txt")
|
108 |
+
val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "val_data.txt")
|
109 |
+
test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test_data.txt")
|
110 |
|
111 |
return [
|
112 |
datasets.SplitGenerator(
|