system HF staff commited on
Commit
0c9be6e
1 Parent(s): a155f8c

Update files from the datasets library (from 1.16.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.16.0

Files changed (1) hide show
  1. newsqa.py +1 -3
newsqa.py CHANGED
@@ -183,9 +183,7 @@ class Newsqa(datasets.GeneratorBasedBuilder):
183
 
184
  if not os.path.exists(path_to_manual_folder):
185
  raise FileNotFoundError(
186
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('newsqa', data_dir=...)` that includes files from the Manual download instructions: {}".format(
187
- path_to_manual_folder, self.manual_download_instructions
188
- )
189
  )
190
 
191
  if self.config.name == "combined-csv":
 
183
 
184
  if not os.path.exists(path_to_manual_folder):
185
  raise FileNotFoundError(
186
+ f"{path_to_manual_folder} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('newsqa', data_dir=...)` that includes files from the Manual download instructions: {self.manual_download_instructions}"
 
 
187
  )
188
 
189
  if self.config.name == "combined-csv":