system HF staff commited on
Commit
8109b24
1 Parent(s): 0d4e59d

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. hippocorpus.py +1 -3
hippocorpus.py CHANGED
@@ -108,9 +108,7 @@ class Hippocorpus(datasets.GeneratorBasedBuilder):
108
 
109
  if not os.path.exists(data_dir):
110
  raise FileNotFoundError(
111
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('hippocorpus', data_dir=...)` that includes files unzipped from the hippocorpus zip. Manual download instructions: {}".format(
112
- data_dir, self.manual_download_instructions
113
- )
114
  )
115
  return [
116
  datasets.SplitGenerator(
 
108
 
109
  if not os.path.exists(data_dir):
110
  raise FileNotFoundError(
111
+ "{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('hippocorpus', data_dir=...)` that includes files unzipped from the hippocorpus zip. Manual download instructions: {self.manual_download_instructions}"
 
 
112
  )
113
  return [
114
  datasets.SplitGenerator(