system HF staff commited on
Commit
87d13fc
1 Parent(s): 1b91f37

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. senti_lex.py +1 -3
senti_lex.py CHANGED
@@ -183,9 +183,7 @@ class SentiLex(datasets.GeneratorBasedBuilder):
183
  data_dir = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
184
  if not os.path.exists(data_dir):
185
  raise FileNotFoundError(
186
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('newsroom', data_dir=...)` that includes files unzipped from the reclor zip. Manual download instructions: {}".format(
187
- data_dir, self.manual_download_instructions
188
- )
189
  )
190
  return [
191
  datasets.SplitGenerator(
 
183
  data_dir = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
184
  if not os.path.exists(data_dir):
185
  raise FileNotFoundError(
186
+ f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('newsroom', data_dir=...)` that includes files unzipped from the reclor zip. Manual download instructions: {self.manual_download_instructions}"
 
 
187
  )
188
  return [
189
  datasets.SplitGenerator(