yonatanbitton
commited on
Commit
·
6fa9221
1
Parent(s):
e5813d0
Update vasr.py
Browse files
vasr.py
CHANGED
@@ -32,11 +32,6 @@ _HOMEPAGE = "https://vasr-dataset.github.io/"
|
|
32 |
_LICENSE = "https://creativecommons.org/licenses/by/4.0/"
|
33 |
|
34 |
_URL = "https://huggingface.co/datasets/nlphuji/vasr/blob/main"
|
35 |
-
_URLS = {
|
36 |
-
"train": os.path.join(_URL, "train_gold_unlabeled.csv"),
|
37 |
-
"dev": os.path.join(_URL, "dev_gold.csv"),
|
38 |
-
"test": os.path.join(_URL, "test_gold.csv"),
|
39 |
-
}
|
40 |
|
41 |
class Vasr(datasets.GeneratorBasedBuilder):
|
42 |
VERSION = datasets.Version("1.1.0")
|
@@ -91,7 +86,7 @@ class Vasr(datasets.GeneratorBasedBuilder):
|
|
91 |
data_dir = dl_manager.download_and_extract({
|
92 |
"images_dir": hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="vasr_images.zip")
|
93 |
})
|
94 |
-
test_examples = hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="
|
95 |
dev_examples = hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="dev_gold.csv")
|
96 |
train_examples = hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="train_gold.csv")
|
97 |
|
|
|
32 |
_LICENSE = "https://creativecommons.org/licenses/by/4.0/"
|
33 |
|
34 |
_URL = "https://huggingface.co/datasets/nlphuji/vasr/blob/main"
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
class Vasr(datasets.GeneratorBasedBuilder):
|
37 |
VERSION = datasets.Version("1.1.0")
|
|
|
86 |
data_dir = dl_manager.download_and_extract({
|
87 |
"images_dir": hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="vasr_images.zip")
|
88 |
})
|
89 |
+
test_examples = hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="test_gold_unlabeled.csv")
|
90 |
dev_examples = hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="dev_gold.csv")
|
91 |
train_examples = hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="train_gold.csv")
|
92 |
|