ccdv commited on
Commit
aace6eb
1 Parent(s): 3ddddf4

fix val and test

Browse files
Files changed (1) hide show
  1. 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) + "/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 [
 
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 [