system HF staff commited on
Commit
73a6f09
1 Parent(s): 86fb9ed

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. msr_zhen_translation_parity.py +1 -3
msr_zhen_translation_parity.py CHANGED
@@ -93,9 +93,7 @@ class MsrZhenTranslationParity(datasets.GeneratorBasedBuilder):
93
 
94
  if not os.path.exists(path_to_manual_file):
95
  raise FileNotFoundError(
96
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('msr_zhen_translation_parity', data_dir=...)`. Manual download instructions: {})".format(
97
- path_to_manual_file, self.manual_download_instructions
98
- )
99
  )
100
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": path_to_manual_file})]
101
 
93
 
94
  if not os.path.exists(path_to_manual_file):
95
  raise FileNotFoundError(
96
+ f"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('msr_zhen_translation_parity', data_dir=...)`. Manual download instructions: {self.manual_download_instructions})"
 
 
97
  )
98
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": path_to_manual_file})]
99