Update scielo-summarization.py
Browse files- 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 + "
|
80 |
-
val_dir = os.path.join(dl_manager.download_and_extract(val_archive), self.config.lang + "
|
81 |
-
test_dir = os.path.join(dl_manager.download_and_extract(test_archive), self.config.lang + "
|
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)
|