ccdv commited on
Commit
d73e1f3
·
1 Parent(s): 4b43d2b
Files changed (1) hide show
  1. pubmed-summarization.py +3 -3
pubmed-summarization.py CHANGED
@@ -98,9 +98,9 @@ class PubMedSummarizationDataset(datasets.GeneratorBasedBuilder):
98
  dl_paths = dl_manager.download_and_extract(self._TEST_FILE)
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) + "test.txt"
103
- test_path = dl_manager.download_and_extract(self._TEST_FILE) + "val.txt"
104
  print("PATHS\n", train_path, val_path, test_path)
105
 
106
  return [
 
98
  dl_paths = dl_manager.download_and_extract(self._TEST_FILE)
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) + "/test.txt"
103
+ test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/val.txt"
104
  print("PATHS\n", train_path, val_path, test_path)
105
 
106
  return [