Update FB15k-237.py
Browse files- FB15k-237.py +1 -0
FB15k-237.py
CHANGED
|
@@ -199,6 +199,7 @@ class FB15k237(datasets.GeneratorBasedBuilder):
|
|
| 199 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 200 |
urls = _URLS["kgraph"]
|
| 201 |
data_dir = dl_manager.download_and_extract(urls)
|
|
|
|
| 202 |
|
| 203 |
if self.ent2id is None and self.rel2id is None:
|
| 204 |
self.ent2id, self.rel2id = generate_dit(data_dir)
|
|
|
|
| 199 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 200 |
urls = _URLS["kgraph"]
|
| 201 |
data_dir = dl_manager.download_and_extract(urls)
|
| 202 |
+
print(data_dir)
|
| 203 |
|
| 204 |
if self.ent2id is None and self.rel2id is None:
|
| 205 |
self.ent2id, self.rel2id = generate_dit(data_dir)
|