{"id":13628219,"url":"https://github.com/ibalazevic/HypER","last_synced_at":"2025-04-17T00:34:05.143Z","repository":{"id":75535259,"uuid":"133713292","full_name":"ibalazevic/HypER","owner":"ibalazevic","description":"Hypernetwork Knowledge Graph Embeddings","archived":false,"fork":false,"pushed_at":"2019-09-21T08:16:58.000Z","size":13792,"stargazers_count":53,"open_issues_count":5,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-01T22:42:04.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibalazevic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-05-16T19:22:41.000Z","updated_at":"2024-07-23T05:40:30.000Z","dependencies_parsed_at":"2023-06-06T20:00:32.757Z","dependency_job_id":null,"html_url":"https://github.com/ibalazevic/HypER","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalazevic%2FHypER","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalazevic%2FHypER/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalazevic%2FHypER/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibalazevic%2FHypER/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibalazevic","download_url":"https://codeload.github.com/ibalazevic/HypER/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223735405,"owners_count":17194094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T22:00:48.595Z","updated_at":"2024-11-08T18:31:44.120Z","avatar_url":"https://github.com/ibalazevic.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"\n## HypER: Hypernetwork Knowledge Graph Embeddings\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/ibalazevic/HypER/master/hyper.png\"/ width=800\u003e\n\u003c/p\u003e\n\nThis codebase contains PyTorch implementation of the paper:\n\n\u003e Hypernetwork Knowledge Graph Embeddings.\n\u003e Ivana Balažević, Carl Allen, and Timothy M. Hospedales.\n\u003e International Conference on Artificial Neural Networks, 2019.\n\u003e [[Paper]](https://arxiv.org/pdf/1808.07018.pdf)\n\n### Running a model\n\nTo run the model, execute the following command:\n\n`CUDA_VISIBLE_DEVICES=0 python hyper.py --algorithm HypER --dataset FB15k-237`\n\n\nAvailable algorithms are:\n\n    HypER\n    HypE\n    DistMult\n    ComplEx\n    ConvE\n\nAvailable datasets are:\n    \n    FB15k-237\n    WN18RR\n    FB15k\n    WN18\n\nTo reproduce the results from the paper, use the following combinations of hyperparameters with `batch_size=128`, `ent_vec_dim=200` and `rel_vec_dim=200`:\n\ndataset | lr | dr | input_dropout | feature_map_dropout | hidden_dropout | label_smoothing \n:--- | :---: | :---: | :---: | :---: | :---: | :---: | \nFB15k | 0.005 | 0.995 | 0.2 | 0.2 | 0.3 | 0.\nWN18 | 0.001 | 1.0 | 0.2 | 0.2 | 0.3 | 0.1\nFB15k-237 | 0.0001 | 0.995 | 0.3 | 0.2 | 0.3 | 0.1\nWN18RR | 0.005 | 1.0 | 0.2 | 0.2 | 0.3| 0.1\n\n### Requirements\n\nThe codebase is implemented in Python 3.6.6. Required packages are:\n\n    numpy      1.14.5\n    pytorch    0.4.0\n\n### Citation\n\nIf you found this codebase useful, please cite:\n\n    @inproceedings{balazevic2019hypernetwork,\n    title={Hypernetwork Knowledge Graph Embeddings},\n    author={Bala\\v{z}evi\\'c, Ivana and Allen, Carl and Hospedales, Timothy M},\n    booktitle={International Conference on Artificial Neural Networks},\n    year={2019}\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibalazevic%2FHypER","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibalazevic%2FHypER","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibalazevic%2FHypER/lists"}