Update multi_document_summarization.py
Browse files
multi_document_summarization.py
CHANGED
@@ -72,9 +72,10 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
|
|
72 |
"""train_path = dl_manager.download_and_extract(_URL_TRAIN)
|
73 |
test_path = dl_manager.download_and_extract(_URL_TEST)
|
74 |
val_path = dl_manager.download_and_extract(_URL_VAL)"""
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
78 |
|
79 |
return [
|
80 |
datasets.SplitGenerator(
|
|
|
72 |
"""train_path = dl_manager.download_and_extract(_URL_TRAIN)
|
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(
|