fix val and test
Browse files- pubmed-summarization.py +2 -2
pubmed-summarization.py
CHANGED
@@ -99,8 +99,8 @@ class PubMedSummarizationDataset(datasets.GeneratorBasedBuilder):
|
|
99 |
train_files = _subset_filenames(dl_paths, datasets.Split.TRAIN)
|
100 |
"""
|
101 |
train_path = dl_manager.download_and_extract(self._TRAIN_FILE) + "/train.txt"
|
102 |
-
val_path = dl_manager.download_and_extract(self._VAL_FILE) + "/
|
103 |
-
test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/
|
104 |
print("PATHS\n", train_path, val_path, test_path)
|
105 |
|
106 |
return [
|
|
|
99 |
train_files = _subset_filenames(dl_paths, datasets.Split.TRAIN)
|
100 |
"""
|
101 |
train_path = dl_manager.download_and_extract(self._TRAIN_FILE) + "/train.txt"
|
102 |
+
val_path = dl_manager.download_and_extract(self._VAL_FILE) + "/val.txt"
|
103 |
+
test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/test.txt"
|
104 |
print("PATHS\n", train_path, val_path, test_path)
|
105 |
|
106 |
return [
|