Datasets:
boragokbakan
commited on
Commit
·
4a68b98
1
Parent(s):
d34b520
url fix
Browse files- entity_disambiguation.py +2 -1
entity_disambiguation.py
CHANGED
@@ -76,7 +76,8 @@ class EntityDisambiguation(datasets.GeneratorBasedBuilder):
|
|
76 |
name=split,
|
77 |
gen_kwargs={
|
78 |
"filepath": dl_manager.download_and_extract(
|
79 |
-
f"http://dl.fbaipublicfiles.com/
|
|
|
80 |
"split": split,
|
81 |
},
|
82 |
)
|
|
|
76 |
name=split,
|
77 |
gen_kwargs={
|
78 |
"filepath": dl_manager.download_and_extract(
|
79 |
+
f"http://dl.fbaipublicfiles.com/{'KILT' if self.config.name.lower() == 'blink' else 'GENRE'}"
|
80 |
+
f"/{self.config.name.lower()}-{split}-kilt.jsonl"),
|
81 |
"split": split,
|
82 |
},
|
83 |
)
|