PyKEEN Benchmarking Experiment Model Files
- 1. University of Bonn
- 2. LMU Munich
- 3. Harvard Medical School
- 4. Technical University of Denmark
- 5. Mila
Description
This repository provides weights of the models from the benchmarking study conducted in "Bringing Light Into the Dark: A Large-scale Evaluation of Knowledge Graph Embedding Models Under a Unified Framework" which have been upgraded to compatible with PyKEEN 1.9.
The weights are organized as zipfiles, which are named by the dataset-interaction function configuration. For each of these combinations, we chose the best according to validation Hits@10 to include into this repository. For each model, we have three files:
configuration.json
contains the (pipeline) configuration used to train the model. It can loaded as
import pathlib
import json
configuration = json.loads(pathlib.Path("configuration.json").read_text())
Since the configuration is intended for the pipeline, we need some custom code to re-create the model without re-training it.
from pykeen.datasets import get_dataset
from pykeen.models import ERModel, model_resolver
configuration = configuration["pipeline"]
# load the triples factory
dataset = get_dataset(
dataset=configuration["dataset"], dataset_kwargs=configuration.get("dataset_kwargs", None)
)
model: ERModel = model_resolver.make(
configuration["model"], configuration["model_kwargs"], triples_factory=dataset.training
)
Note, that this only creates the model instance, but does not load the weights, yet.
state_dict.pt
contains the weights, stored viatorch.save
. They can be loaded via
We can load these weights into the model by using Module.load_state_dict
Note that we set strict=False
, since the exported weights do not contain regularizers' state,
while the re-instantiated models may have regularizers.
results.json
contains the results obtained by the original runs. It can be read by
Note that some of the recently added metrics are not available in those results.
Files
fb15k237_complex.zip
Files
(2.7 GB)
Name | Size | Download all |
---|---|---|
md5:7271a17d1734e13092f15afa220af614
|
30.7 MB | Preview Download |
md5:a4756077bc941c8027fd795ba55ae8d0
|
39.5 MB | Preview Download |
md5:94e373a8ff963e94c06a1deb3541f19e
|
15.3 MB | Preview Download |
md5:e86876f2f79d7cdb42141b43216d2eb2
|
3.9 MB | Preview Download |
md5:92cbfaf72c00ff08a83828a45426a2cf
|
3.9 MB | Preview Download |
md5:bb25eea7dc21d981fe1afe71edaac806
|
15.4 MB | Preview Download |
md5:24f9838609381209653e3015093f4b39
|
4.1 MB | Preview Download |
md5:e5bee3c428b0c588aec3e035682f73ce
|
70.5 MB | Preview Download |
md5:986c911e24eea584d134fe93ec99454a
|
3.9 MB | Preview Download |
md5:dd0e4d9c42417354e6ee282383e809b0
|
61.4 MB | Preview Download |
md5:19973651cd1752d4e011bcbd74c8ad1e
|
139.1 MB | Preview Download |
md5:8ebdbfd56dda12dbd09c49cb8c2aa4bb
|
30.2 MB | Preview Download |
md5:2caee3a42d0f35b8bf8d7a1d11224bea
|
15.4 MB | Preview Download |
md5:d8efeb04862b502be05f7a3076d9efd7
|
3.9 MB | Preview Download |
md5:fc8309ca2c3d03a816e2cb944e8fbc2a
|
3.9 MB | Preview Download |
md5:d4eadf12bacb6b980153bae0e63c7264
|
38.7 MB | Preview Download |
md5:fa4d06898462f98c13fabeaa6651a39f
|
31.8 MB | Preview Download |
md5:2d4698e74e0bcb61e1627a4130b872b3
|
14.9 MB | Preview Download |
md5:4b20263ca636d613cd73c1152803831c
|
330.9 kB | Preview Download |
md5:da56cf6b2cb1abaeccf0afa765fbd71d
|
3.9 MB | Preview Download |
md5:24b74c0f6f7cf75e4dfc17d2c540cffd
|
151.3 kB | Preview Download |
md5:139eb4e88531500f26d917845d8b1a29
|
55.0 kB | Preview Download |
md5:7dc21dc1181e38983cc8cfd20878a38f
|
105.6 kB | Preview Download |
md5:2b870ce6c5c5ba15c90c995eda1c8494
|
95.2 kB | Preview Download |
md5:6ad79496e3413f4e3af1f9c3a32815ae
|
69.5 kB | Preview Download |
md5:4ea31eba030feed0e0ff27f78a7d2c12
|
3.4 MB | Preview Download |
md5:39fdc42a0556250235c0fa525a38ca38
|
56.8 kB | Preview Download |
md5:9dd22a3d78364e7649958d7cafd11bbf
|
647.0 kB | Preview Download |
md5:a09a92cacbbcf62ed594687ebd5f74d7
|
13.2 MB | Preview Download |
md5:71ea28e26fab127be12526cd72d5907e
|
331.0 kB | Preview Download |
md5:7decc3968f74184eab0571ca5f5cee42
|
26.3 MB | Preview Download |
md5:f30548db41437b824e4c3198ccf7ea3f
|
225.3 kB | Preview Download |
md5:f7ae779f74cd71835081064eb3be54d8
|
173.4 kB | Preview Download |
md5:23a405a466491d111f5e66dbdbc9d8da
|
1.8 MB | Preview Download |
md5:411303f5d6cf4440e51ca6de5a0ead47
|
8.5 MB | Preview Download |
md5:da3669e5892452fe89ea4ca8a1aed70c
|
68.9 kB | Preview Download |
md5:c49419d39cbfd8fa293ea78041021407
|
2.4 kB | Preview Download |
md5:7cfe0abfaaaac49c485baa9679fc2f0d
|
41.6 MB | Preview Download |
md5:653e4569446da599acd390dc17ee72c4
|
23.7 MB | Preview Download |
md5:01a39d442830d80f0c17126bc7777c0f
|
20.8 MB | Preview Download |
md5:6d06d7e61d5ef617c486692b22ade6b0
|
41.6 MB | Preview Download |
md5:6c983ef64cc304724ee904cabcafaec2
|
10.5 MB | Preview Download |
md5:d003719ed3f06aafe3c3953fc40ef9eb
|
41.6 MB | Preview Download |
md5:311610f23319430cc4ef55e48e4deddb
|
41.9 MB | Preview Download |
md5:6cad5b309900a06d5bbc9a1e08f8af35
|
11.1 MB | Preview Download |
md5:1b6e5a3c68ffe04cbdca2bc95023013f
|
41.6 MB | Preview Download |
md5:3248ecc98eece4a33cc154b8b1fd2ac8
|
41.6 MB | Preview Download |
md5:f4f561b4dc8077ca0dd0a9299b6c4d0f
|
44.4 MB | Preview Download |
md5:24418c561338aa7c7f2185d6d364a785
|
83.1 MB | Preview Download |
md5:bb0fa429d5ab35c860020bf18212c51b
|
22.2 MB | Preview Download |
md5:3240e0da7b369b6980839d9270bc70b5
|
20.8 MB | Preview Download |
md5:5834cdb1faab270f60f89efff36eae34
|
41.6 MB | Preview Download |
md5:8542a39a13b5d6d3b4aba963d4207222
|
10.4 MB | Preview Download |
md5:12dc2764133069531280b21119c94257
|
10.8 MB | Preview Download |
md5:22cd4e5db8918a029bd9d8f4244c1a6a
|
29.2 MB | Preview Download |
md5:81c92f07bc2637576e4b52f290ba8e87
|
20.8 MB | Preview Download |
md5:dbd2e15383c2aa2c80d1532bd8b96feb
|
252.3 MB | Preview Download |
md5:3c135a4e48ca537d1b60c4a2c1fb68ef
|
66.4 MB | Preview Download |
md5:c51d6899443185bceea22311b52f10e7
|
63.1 MB | Preview Download |
md5:9c95f3b789605e15c5e30d2358ff0920
|
126.2 MB | Preview Download |
md5:47ebfb8cd6e4949014ad5db0a0b23424
|
63.3 MB | Preview Download |
md5:37ed1a0be96ea514856f8dc8bf821611
|
63.1 MB | Preview Download |
md5:6070f9c2bf91a5999856217b2d4e97a0
|
64.1 MB | Preview Download |
md5:027a49416da78379988edd81aa1151bb
|
126.2 MB | Preview Download |
md5:21129c6f415adffb1d447f66a577ad63
|
67.9 MB | Preview Download |
md5:f6e88f107f9a4899d53e996764f6198e
|
252.4 MB | Preview Download |
md5:375b00fd35294aca658c4fb7fdc7d20f
|
164.9 MB | Preview Download |
md5:b17e9983d30f2bd8d1207fb9892c3190
|
126.2 MB | Preview Download |
md5:c6f590998c26989ae7e4455ca9defc8c
|
126.2 MB | Preview Download |