dainis-boumber commited on
Commit
d504457
1 Parent(s): 8eec26c
Files changed (1) hide show
  1. gdds.py +6 -2
gdds.py CHANGED
@@ -87,8 +87,12 @@ class GDDS(datasets.GeneratorBasedBuilder):
87
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
88
  # 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.
89
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
90
- # urls = _URLS[self.config.name]
91
- data_dir = dl_manager.download_and_extract(self.config.name)
 
 
 
 
92
 
93
  return [
94
  datasets.SplitGenerator(
 
87
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
88
  # 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.
89
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
90
+ urls = {
91
+ "train": self.config.name+"/train.jsonl",
92
+ "test": self.config.name+"/test.jsonl",
93
+ "validate": self.config.name+"/validate.jsonl",
94
+ }
95
+ data_dir = dl_manager.download_and_extract(urls)
96
 
97
  return [
98
  datasets.SplitGenerator(