system HF staff commited on
Commit
c3dcc3b
1 Parent(s): 1ae85ac

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_movie_sentiment.py +1 -3
turkish_movie_sentiment.py CHANGED
@@ -93,9 +93,7 @@ class TurkishMovieSentiment(datasets.GeneratorBasedBuilder):
93
  path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
94
  if not os.path.exists(path_to_manual_file):
95
  raise FileNotFoundError(
96
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkishmoviesentiment', data_dir=...)` that includes a file name {}. Manual download instructions: {})".format(
97
- path_to_manual_file, _FILENAME, self.manual_download_instructions
98
- )
99
  )
100
  return [
101
  datasets.SplitGenerator(
 
93
  path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
94
  if not os.path.exists(path_to_manual_file):
95
  raise FileNotFoundError(
96
+ f"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkishmoviesentiment', data_dir=...)` that includes a file name {_FILENAME}. Manual download instructions: {self.manual_download_instructions})"
 
 
97
  )
98
  return [
99
  datasets.SplitGenerator(