ccdv commited on
Commit
12ab0f8
1 Parent(s): ec0eca8

for windows

Browse files
Files changed (1) hide show
  1. mediasum.py +3 -3
mediasum.py CHANGED
@@ -104,9 +104,9 @@ class MediaSumSummarizationDataset(datasets.GeneratorBasedBuilder):
104
 
105
  def _split_generators(self, dl_manager):
106
 
107
- train_path = dl_manager.download_and_extract(self._TRAIN_FILE) + "/train_data.txt"
108
- val_path = dl_manager.download_and_extract(self._VAL_FILE) + "/val_data.txt"
109
- test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/test_data.txt"
110
 
111
  return [
112
  datasets.SplitGenerator(
 
104
 
105
  def _split_generators(self, dl_manager):
106
 
107
+ train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train_data.txt")
108
+ val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "val_data.txt")
109
+ test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test_data.txt")
110
 
111
  return [
112
  datasets.SplitGenerator(