Update multi_document_summarization.py
Browse files
multi_document_summarization.py
CHANGED
@@ -69,13 +69,10 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
|
|
69 |
|
70 |
def _split_generators(self, dl_manager):
|
71 |
"""Returns SplitGenerators."""
|
72 |
-
|
|
|
73 |
test_path = dl_manager.download_and_extract(_URL_TEST)
|
74 |
-
val_path = dl_manager.download_and_extract(_URL_VAL)
|
75 |
-
|
76 |
-
train_path = datasets.DatasetBuilder.download_and_prepare(self,base_path=_URL_TRAIN,download_mode="force_redownload")
|
77 |
-
test_path = datasets.DatasetBuilder.download_and_prepare(self,base_path=_URL_TEST,download_mode="force_redownload")
|
78 |
-
val_path = datasets.DatasetBuilder.download_and_prepare(self,base_path=_URL_VAL,download_mode="force_redownload")
|
79 |
|
80 |
return [
|
81 |
datasets.SplitGenerator(
|
|
|
69 |
|
70 |
def _split_generators(self, dl_manager):
|
71 |
"""Returns SplitGenerators."""
|
72 |
+
dl_manager.DownloadConfig.force_download=True
|
73 |
+
train_path = dl_manager.download_and_extract(_URL_TRAIN)
|
74 |
test_path = dl_manager.download_and_extract(_URL_TEST)
|
75 |
+
val_path = dl_manager.download_and_extract(_URL_VAL)
|
|
|
|
|
|
|
|
|
76 |
|
77 |
return [
|
78 |
datasets.SplitGenerator(
|