arka0821 commited on
Commit
b275f79
1 Parent(s): fd6f096

Update multi_document_summarization.py

Browse files
Files changed (1) hide show
  1. multi_document_summarization.py +4 -3
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
- train_path = datasets.DatasetBuilder.download_and_prepare(base_path=_URL_TRAIN,download_mode="force_redownload")
76
- test_path = datasets.DatasetBuilder.download_and_prepare(base_path=_URL_TEST,download_mode="force_redownload")
77
- val_path = datasets.DatasetBuilder.download_and_prepare(base_path=_URL_VAL,download_mode="force_redownload")
 
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(