{"id":18401749,"url":"https://github.com/borealisai/de-simple","last_synced_at":"2025-04-14T02:42:43.604Z","repository":{"id":37614061,"uuid":"194904677","full_name":"BorealisAI/de-simple","owner":"BorealisAI","description":"Diachronic Embedding for Temporal Knowledge Graph Completion","archived":false,"fork":false,"pushed_at":"2024-07-25T10:16:29.000Z","size":28527,"stargazers_count":84,"open_issues_count":5,"forks_count":18,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-27T16:41:59.428Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorealisAI.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-02T17:10:26.000Z","updated_at":"2025-03-18T02:25:17.000Z","dependencies_parsed_at":"2024-12-24T13:21:25.447Z","dependency_job_id":null,"html_url":"https://github.com/BorealisAI/de-simple","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/BorealisAI%2Fde-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fde-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fde-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fde-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorealisAI","download_url":"https://codeload.github.com/BorealisAI/de-simple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812436,"owners_count":21165422,"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-11-06T02:39:51.506Z","updated_at":"2025-04-14T02:42:43.581Z","avatar_url":"https://github.com/BorealisAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Diachronic Embedding for Temporal Knowledge Graph Completion\r\nThis repository contains code for the reprsentation proposed in [Diachronic Embedding for Temporal Knowledge Graph Completion](https://arxiv.org/pdf/1907.03143.pdf) paper.\r\n## Installation\r\n- Create a conda environment:\r\n```\r\n$ conda create -n tkgc python=3.6 anaconda\r\n```\r\n- Run\r\n```\r\n$ source activate tkgc\r\n```\r\n- Change directory to TKGC folder\r\n- Run\r\n```\r\n$ pip install -r requirements.txt\r\n```\r\n## How to use?\r\nAfter installing the requirements, run the following command to reproduce results for DE-SimplE:\r\n```\r\n$ python main.py -dropout 0.4 -se_prop 0.68 -model DE-SimplE\r\n```\r\nTo reproduce the results for DE-DistMult and DE-TransE, specify **model** as DE-DistMult/DE-TransE as following.\r\n```\r\n$ python main.py -dropout 0.4 -se_prop 0.36 -model DE-DistMult\r\n$ python main.py -dropout 0.4 -se_prop 0.36 -model DE-TransE\r\n```\r\n## Citation\r\nIf you use the codes, please cite the following paper:\r\n```\r\n@inproceedings{goel2020diachronic,\r\n  title={Diachronic Embedding for Temporal Knowledge Graph Completion},\r\n  author={Goel, Rishab and Kazemi, Seyed Mehran and Brubaker, Marcus and Poupart, Pascal},\r\n  booktitle={AAAI},\r\n  year={2020}\r\n}\r\n```\r\n## License\r\nCopyright (c) 2018-present, Royal Bank of Canada.\r\nAll rights reserved.\r\nThis source code is licensed under the license found in the\r\nLICENSE file in the root directory of this source tree.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fde-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborealisai%2Fde-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fde-simple/lists"}