system HF staff commited on
Commit
bc4b059
1 Parent(s): f9d3dbe

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. matinf.py +1 -3
matinf.py CHANGED
@@ -135,9 +135,7 @@ class Matinf(datasets.GeneratorBasedBuilder):
135
 
136
  if not os.path.exists(data_dir):
137
  raise FileNotFoundError(
138
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('matinf', data_dir=...)` that includes files unzipped from the MATINF zip. Manual download instructions: {}".format(
139
- data_dir, self.manual_download_instructions
140
- )
141
  )
142
  return [
143
  datasets.SplitGenerator(
 
135
 
136
  if not os.path.exists(data_dir):
137
  raise FileNotFoundError(
138
+ f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('matinf', data_dir=...)` that includes files unzipped from the MATINF zip. Manual download instructions: {self.manual_download_instructions}"
 
 
139
  )
140
  return [
141
  datasets.SplitGenerator(