ccdv commited on
Commit
dad9468
1 Parent(s): 1ac081b

for windows

Browse files
Files changed (1) hide show
  1. govreport-summarization.py +3 -3
govreport-summarization.py CHANGED
@@ -69,9 +69,9 @@ class GovReportSummarizationDataset(datasets.GeneratorBasedBuilder):
69
 
70
  def _split_generators(self, dl_manager):
71
 
72
- train_path = dl_manager.download_and_extract(self._TRAIN_FILE) + "/train.txt"
73
- val_path = dl_manager.download_and_extract(self._VAL_FILE) + "/valid.txt"
74
- test_path = dl_manager.download_and_extract(self._TEST_FILE) + "/test.txt"
75
 
76
  return [
77
  datasets.SplitGenerator(
 
69
 
70
  def _split_generators(self, dl_manager):
71
 
72
+ train_path = os.path.join(dl_manager.download_and_extract(self._TRAIN_FILE), "train.txt")
73
+ val_path = os.path.join(dl_manager.download_and_extract(self._VAL_FILE), "valid.txt")
74
+ test_path = os.path.join(dl_manager.download_and_extract(self._TEST_FILE), "test.txt")
75
 
76
  return [
77
  datasets.SplitGenerator(