system HF staff commited on
Commit
ba40b35
1 Parent(s): 54c359b

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. turkish_shrinked_ner.py +1 -5
turkish_shrinked_ner.py CHANGED
@@ -180,11 +180,7 @@ class TurkishShrinkedNER(datasets.GeneratorBasedBuilder):
180
  path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
181
  if not os.path.exists(path_to_manual_file):
182
  raise FileNotFoundError(
183
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkish_shrinked_ner', data_dir=...)` that includes file name {}. Manual download instructions: {}".format(
184
- path_to_manual_file,
185
- _FILENAME,
186
- self.manual_download_instructions,
187
- )
188
  )
189
  return [
190
  datasets.SplitGenerator(
 
180
  path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
181
  if not os.path.exists(path_to_manual_file):
182
  raise FileNotFoundError(
183
+ "{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkish_shrinked_ner', data_dir=...)` that includes file name {_FILENAME}. Manual download instructions: {self.manual_download_instructions}"
 
 
 
 
184
  )
185
  return [
186
  datasets.SplitGenerator(