Update wikipedia-nq.py
Browse files- wikipedia-nq.py +1 -1
wikipedia-nq.py
CHANGED
@@ -90,7 +90,7 @@ class WikipediaNq(datasets.GeneratorBasedBuilder):
|
|
90 |
datasets.SplitGenerator(
|
91 |
name=split,
|
92 |
gen_kwargs={
|
93 |
-
"
|
94 |
},
|
95 |
) for split in downloaded_files
|
96 |
]
|
|
|
90 |
datasets.SplitGenerator(
|
91 |
name=split,
|
92 |
gen_kwargs={
|
93 |
+
"files": [downloaded_files[split]] if isinstance(downloaded_files[split], str) else downloaded_files[split],
|
94 |
},
|
95 |
) for split in downloaded_files
|
96 |
]
|