Datasets:
GEM
/

Tasks:
Other
Modalities:
Text
Languages:
English
ArXiv:
Tags:
question-generation
License:
Abinaya Mahendiran commited on
Commit
88e074e
1 Parent(s): 6d465c1

Fixed minor bug in data loader

Browse files
Files changed (1) hide show
  1. squad_v2.py +1 -1
squad_v2.py CHANGED
@@ -109,7 +109,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
109
  # TODO(squad_v2): Downloads the data and defines the splits
110
  # dl_manager is a datasets.download.DownloadManager that can be used to
111
  # download and extract URLs
112
- urls_to_download = _URLS
113
  downloaded_files = dl_manager.download_and_extract(urls_to_download)
114
 
115
  return [
 
109
  # TODO(squad_v2): Downloads the data and defines the splits
110
  # dl_manager is a datasets.download.DownloadManager that can be used to
111
  # download and extract URLs
112
+ urls_to_download = _URLS[self.config.name]
113
  downloaded_files = dl_manager.download_and_extract(urls_to_download)
114
 
115
  return [