Severine commited on
Commit
60cfc7a
1 Parent(s): 12a7afa
Files changed (1) hide show
  1. SuperLim.py +2 -2
SuperLim.py CHANGED
@@ -213,8 +213,8 @@ class SuperLim(datasets.GeneratorBasedBuilder):
213
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
214
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
215
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
216
- urls = _URLS[self.config.name]
217
- data_dir = dl_manager.download_and_extract(urls)
218
  return [
219
  datasets.SplitGenerator(
220
  name=datasets.Split.TRAIN,
 
213
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
214
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
215
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
216
+ #urls = _URLS[self.config.name]
217
+ data_dir = dl_manager.download_and_extract(os.path.join(_URL,self.config.data_url,self.config.task_name))
218
  return [
219
  datasets.SplitGenerator(
220
  name=datasets.Split.TRAIN,