system HF staff commited on
Commit
befb830
1 Parent(s): 700e2fa

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. jigsaw_unintended_bias.py +1 -3
jigsaw_unintended_bias.py CHANGED
@@ -117,9 +117,7 @@ class JigsawUnintendedBias(datasets.GeneratorBasedBuilder):
117
 
118
  if not os.path.exists(data_dir):
119
  raise FileNotFoundError(
120
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_unintended_bias', data_dir=...)`. Manual download instructions: {}".format(
121
- data_dir, self.manual_download_instructions
122
- )
123
  )
124
 
125
  return [
 
117
 
118
  if not os.path.exists(data_dir):
119
  raise FileNotFoundError(
120
+ f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_unintended_bias', data_dir=...)`. Manual download instructions: {self.manual_download_instructions}"
 
 
121
  )
122
 
123
  return [