system HF staff commited on
Commit
8a3a08a
1 Parent(s): 74a72a8

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. msr_text_compression.py +1 -3
msr_text_compression.py CHANGED
@@ -90,9 +90,7 @@ class MsrTextCompression(datasets.GeneratorBasedBuilder):
90
  data_dir = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
91
  if not os.path.exists(data_dir):
92
  raise FileNotFoundError(
93
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('msr_text_compression', data_dir=...)` per the manual download instructions: {}".format(
94
- data_dir, self.manual_download_instructions
95
- )
96
  )
97
  return [
98
  datasets.SplitGenerator(
90
  data_dir = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
91
  if not os.path.exists(data_dir):
92
  raise FileNotFoundError(
93
+ f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('msr_text_compression', data_dir=...)` per the manual download instructions: {self.manual_download_instructions}"
 
 
94
  )
95
  return [
96
  datasets.SplitGenerator(