Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
reclor.py
CHANGED
@@ -76,9 +76,7 @@ class Reclor(datasets.GeneratorBasedBuilder):
|
|
76 |
|
77 |
if not os.path.exists(data_dir):
|
78 |
raise FileNotFoundError(
|
79 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('wikihow', data_dir=...)` that includes files unzipped from the reclor zip. Manual download instructions: {}"
|
80 |
-
data_dir, self.manual_download_instructions
|
81 |
-
)
|
82 |
)
|
83 |
return [
|
84 |
datasets.SplitGenerator(
|
|
|
76 |
|
77 |
if not os.path.exists(data_dir):
|
78 |
raise FileNotFoundError(
|
79 |
+
f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('wikihow', data_dir=...)` that includes files unzipped from the reclor zip. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
80 |
)
|
81 |
return [
|
82 |
datasets.SplitGenerator(
|