Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
matinf.py
CHANGED
@@ -135,9 +135,7 @@ class Matinf(datasets.GeneratorBasedBuilder):
|
|
135 |
|
136 |
if not os.path.exists(data_dir):
|
137 |
raise FileNotFoundError(
|
138 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('matinf', data_dir=...)` that includes files unzipped from the MATINF zip. Manual download instructions: {}"
|
139 |
-
data_dir, self.manual_download_instructions
|
140 |
-
)
|
141 |
)
|
142 |
return [
|
143 |
datasets.SplitGenerator(
|
|
|
135 |
|
136 |
if not os.path.exists(data_dir):
|
137 |
raise FileNotFoundError(
|
138 |
+
f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('matinf', data_dir=...)` that includes files unzipped from the MATINF zip. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
139 |
)
|
140 |
return [
|
141 |
datasets.SplitGenerator(
|