oluwatosin adewumi
commited on
Commit
·
cdb8b63
1
Parent(s):
34de73c
my urls changed
Browse files- Taskmaster.py +2 -1
Taskmaster.py
CHANGED
@@ -134,7 +134,8 @@ class Taskmaster(datasets.GeneratorBasedBuilder):
|
|
134 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
|
135 |
# 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.
|
136 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
137 |
-
|
|
|
138 |
data_dir = dl_manager.download_and_extract(my_urls)
|
139 |
challenge_sets = [
|
140 |
# ("challenge_%s_nov_%s" % (split,lvl),"%s-%s_nv2_%s.jsonl" % (split,self.config.name,lvl)) \
|
|
|
134 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLs
|
135 |
# 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.
|
136 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
137 |
+
#_URLs = { "train": "train.csv", "test": "test.csv", "validation": "dev.csv", }
|
138 |
+
my_urls = { "train": "train.csv", "test": "test.csv", "validation": "dev.csv", } #_URLs[self.config.name]
|
139 |
data_dir = dl_manager.download_and_extract(my_urls)
|
140 |
challenge_sets = [
|
141 |
# ("challenge_%s_nov_%s" % (split,lvl),"%s-%s_nv2_%s.jsonl" % (split,self.config.name,lvl)) \
|