MrLight commited on
Commit
bc48d87
1 Parent(s): 32db9da

Update wikipedia-nq.py

Browse files
Files changed (1) hide show
  1. 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 = [