system HF staff commited on
Commit
d7e2743
1 Parent(s): 8135b07

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_toxicity_pred.py +1 -3
jigsaw_toxicity_pred.py CHANGED
@@ -80,9 +80,7 @@ class JigsawToxicityPred(datasets.GeneratorBasedBuilder):
80
 
81
  if not os.path.exists(data_dir):
82
  raise FileNotFoundError(
83
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_toxicity_pred', data_dir=...)`. Manual download instructions: {}".format(
84
- data_dir, self.manual_download_instructions
85
- )
86
  )
87
 
88
  return [
80
 
81
  if not os.path.exists(data_dir):
82
  raise FileNotFoundError(
83
+ f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_toxicity_pred', data_dir=...)`. Manual download instructions: {self.manual_download_instructions}"
 
 
84
  )
85
 
86
  return [