Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
newsqa.py
CHANGED
@@ -183,9 +183,7 @@ class Newsqa(datasets.GeneratorBasedBuilder):
|
|
183 |
|
184 |
if not os.path.exists(path_to_manual_folder):
|
185 |
raise FileNotFoundError(
|
186 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('newsqa', data_dir=...)` that includes files from the Manual download instructions: {}"
|
187 |
-
path_to_manual_folder, self.manual_download_instructions
|
188 |
-
)
|
189 |
)
|
190 |
|
191 |
if self.config.name == "combined-csv":
|
|
|
183 |
|
184 |
if not os.path.exists(path_to_manual_folder):
|
185 |
raise FileNotFoundError(
|
186 |
+
f"{path_to_manual_folder} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('newsqa', data_dir=...)` that includes files from the Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
187 |
)
|
188 |
|
189 |
if self.config.name == "combined-csv":
|