system HF staff commited on
Commit
dc78300
1 Parent(s): 66519ba

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. reclor.py +1 -3
reclor.py CHANGED
@@ -76,9 +76,7 @@ class Reclor(datasets.GeneratorBasedBuilder):
76
 
77
  if not os.path.exists(data_dir):
78
  raise FileNotFoundError(
79
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('wikihow', data_dir=...)` that includes files unzipped from the reclor zip. Manual download instructions: {}".format(
80
- data_dir, self.manual_download_instructions
81
- )
82
  )
83
  return [
84
  datasets.SplitGenerator(
76
 
77
  if not os.path.exists(data_dir):
78
  raise FileNotFoundError(
79
+ f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('wikihow', data_dir=...)` that includes files unzipped from the reclor zip. Manual download instructions: {self.manual_download_instructions}"
 
 
80
  )
81
  return [
82
  datasets.SplitGenerator(