Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- 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: {}"
|
| 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(
|