ccdv commited on
Commit
e1104fe
1 Parent(s): 5c0de0b

for windows

Browse files
Files changed (1) hide show
  1. arxiv-summarization.py +3 -3
arxiv-summarization.py CHANGED
@@ -88,9 +88,9 @@ class ArxivSummarizationDataset(datasets.GeneratorBasedBuilder):
88
 
89
  def _split_generators(self, dl_manager):
90
 
91
- train_path = dl_manager.download_and_extract(self._TRAIN_FILE) + "/train.txt"
92
- val_path = dl_manager.download_and_extract(self._VAL_FILE) + "/val.txt"
93
- test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/test.txt"
94
 
95
  return [
96
  datasets.SplitGenerator(
 
88
 
89
  def _split_generators(self, dl_manager):
90
 
91
+ train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train.txt")
92
+ val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "val.txt")
93
+ test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test.txt")
94
 
95
  return [
96
  datasets.SplitGenerator(