Update wikipedia-nq.py
Browse files- wikipedia-nq.py +1 -1
wikipedia-nq.py
CHANGED
@@ -83,7 +83,7 @@ class WikipediaNq(datasets.GeneratorBasedBuilder):
|
|
83 |
|
84 |
def _split_generators(self, dl_manager):
|
85 |
if self.config.data_files:
|
86 |
-
downloaded_files = dl_manager.download_and_extract(data_files)
|
87 |
else:
|
88 |
downloaded_files = dl_manager.download_and_extract(_DATASET_URLS)
|
89 |
splits = [
|
|
|
83 |
|
84 |
def _split_generators(self, dl_manager):
|
85 |
if self.config.data_files:
|
86 |
+
downloaded_files = dl_manager.download_and_extract(self.config.data_files)
|
87 |
else:
|
88 |
downloaded_files = dl_manager.download_and_extract(_DATASET_URLS)
|
89 |
splits = [
|