Commit
·
f9abc3a
1
Parent(s):
e59bf55
fix download
Browse files
ipquiz.py
CHANGED
|
@@ -120,11 +120,11 @@ class IPQuizDataset(datasets.GeneratorBasedBuilder):
|
|
| 120 |
downloaded_files = dl_manager.download(_URLS)
|
| 121 |
return [
|
| 122 |
datasets.SplitGenerator(
|
| 123 |
-
name=
|
| 124 |
# These kwargs will be passed to _generate_examples
|
| 125 |
gen_kwargs={
|
| 126 |
"filepath": downloaded_files[self.config.name],
|
| 127 |
-
"split":
|
| 128 |
},
|
| 129 |
),
|
| 130 |
]
|
|
|
|
| 120 |
downloaded_files = dl_manager.download(_URLS)
|
| 121 |
return [
|
| 122 |
datasets.SplitGenerator(
|
| 123 |
+
name=self.config.name,
|
| 124 |
# These kwargs will be passed to _generate_examples
|
| 125 |
gen_kwargs={
|
| 126 |
"filepath": downloaded_files[self.config.name],
|
| 127 |
+
"split": self.config.name
|
| 128 |
},
|
| 129 |
),
|
| 130 |
]
|