system HF staff commited on
Commit
879df4d
1 Parent(s): 250caf8

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. narrativeqa_manual.py +1 -3
narrativeqa_manual.py CHANGED
@@ -125,9 +125,7 @@ class NarrativeqaManual(datasets.GeneratorBasedBuilder):
125
 
126
  if not os.path.exists(manual_dir):
127
  raise FileNotFoundError(
128
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('narrativeqa_manual', data_dir=...)` that includes the stories downloaded from the original repository. Manual download instructions: {}".format(
129
- manual_dir, self.manual_download_instructions
130
- )
131
  )
132
 
133
  return [
125
 
126
  if not os.path.exists(manual_dir):
127
  raise FileNotFoundError(
128
+ f"{manual_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('narrativeqa_manual', data_dir=...)` that includes the stories downloaded from the original repository. Manual download instructions: {self.manual_download_instructions}"
 
 
129
  )
130
 
131
  return [