nglaura commited on
Commit
34e8621
1 Parent(s): 5179a7c

Update scielo-summarization.py

Browse files
Files changed (1) hide show
  1. scielo-summarization.py +3 -3
scielo-summarization.py CHANGED
@@ -76,9 +76,9 @@ class SciELOSummarizationDataset(datasets.GeneratorBasedBuilder):
76
  val_abstracts = self.config.lang + "_validation.txt"
77
  test_abstracts = self.config.lang + "_test.txt"
78
 
79
- train_dir = os.path.join(dl_manager.download_and_extract(train_archive), self.config.lang + "train")
80
- val_dir = os.path.join(dl_manager.download_and_extract(val_archive), self.config.lang + "val")
81
- test_dir = os.path.join(dl_manager.download_and_extract(test_archive), self.config.lang + "test")
82
 
83
  train_abstracts = dl_manager.download_and_extract(train_abstracts)
84
  val_abstracts = dl_manager.download_and_extract(val_abstracts)
 
76
  val_abstracts = self.config.lang + "_validation.txt"
77
  test_abstracts = self.config.lang + "_test.txt"
78
 
79
+ train_dir = os.path.join(dl_manager.download_and_extract(train_archive), self.config.lang + "_train")
80
+ val_dir = os.path.join(dl_manager.download_and_extract(val_archive), self.config.lang + "_val")
81
+ test_dir = os.path.join(dl_manager.download_and_extract(test_archive), self.config.lang + "_test")
82
 
83
  train_abstracts = dl_manager.download_and_extract(train_abstracts)
84
  val_abstracts = dl_manager.download_and_extract(val_abstracts)