Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
style_change_detection.py
CHANGED
@@ -95,9 +95,7 @@ class StyleChangeDetection(datasets.GeneratorBasedBuilder):
|
|
95 |
|
96 |
if not os.path.exists(train_dir):
|
97 |
raise FileNotFoundError(
|
98 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('style_change_detection', data_dir=...)` that includes {}. Manual download instructions: {}"
|
99 |
-
train_dir, train_dir, self.manual_download_instructions
|
100 |
-
)
|
101 |
)
|
102 |
|
103 |
return [
|
|
|
95 |
|
96 |
if not os.path.exists(train_dir):
|
97 |
raise FileNotFoundError(
|
98 |
+
f"{train_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('style_change_detection', data_dir=...)` that includes {train_dir}. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
99 |
)
|
100 |
|
101 |
return [
|