ccdv commited on
Commit
571ae13
1 Parent(s): 45e466f

for windows

Browse files
Files changed (1) hide show
  1. WCEP-10.py +3 -3
WCEP-10.py CHANGED
@@ -118,9 +118,9 @@ class WCEP10SummarizationDataset(datasets.GeneratorBasedBuilder):
118
 
119
  def _split_generators(self, dl_manager):
120
 
121
- train_path = dl_manager.download_and_extract(self._TRAIN_FILE) + "/train.txt"
122
- val_path = dl_manager.download_and_extract(self._VAL_FILE) + "/val.txt"
123
- test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/test.txt"
124
 
125
  return [
126
  datasets.SplitGenerator(
 
118
 
119
  def _split_generators(self, dl_manager):
120
 
121
+ train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train.txt")
122
+ val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "val.txt")
123
+ test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test.txt")
124
 
125
  return [
126
  datasets.SplitGenerator(