yonatanbitton
commited on
Commit
•
b7962ee
1
Parent(s):
ae48577
Update vasr.py
Browse files
vasr.py
CHANGED
@@ -90,8 +90,8 @@ class Winogavil(datasets.GeneratorBasedBuilder):
|
|
90 |
# 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.
|
91 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
92 |
data_dir = dl_manager.download_and_extract({
|
93 |
-
"examples_csv": hf_hub_url(repo_id="datasets/nlphuji/vasr", filename="test_gold.csv"),
|
94 |
-
"images_dir": hf_hub_url(repo_id="datasets/nlphuji/vasr", filename="vasr_images.zip")
|
95 |
})
|
96 |
|
97 |
return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)]
|
|
|
90 |
# 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.
|
91 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
92 |
data_dir = dl_manager.download_and_extract({
|
93 |
+
"examples_csv": hf_hub_url(repo_id="datasets/nlphuji/vasr", repo_type='dataset', filename="test_gold.csv"),
|
94 |
+
"images_dir": hf_hub_url(repo_id="datasets/nlphuji/vasr", repo_type='dataset',filename="vasr_images.zip")
|
95 |
})
|
96 |
|
97 |
return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)]
|