{"id":18832978,"url":"https://github.com/declare-lab/dialog-hgat","last_synced_at":"2025-04-14T04:31:53.143Z","repository":{"id":65230378,"uuid":"295343608","full_name":"declare-lab/dialog-HGAT","owner":"declare-lab","description":"Dialogue Relation Extraction with Document-level Heterogeneous Graph Attention Networks","archived":false,"fork":false,"pushed_at":"2023-01-13T23:54:06.000Z","size":19109,"stargazers_count":56,"open_issues_count":0,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-27T18:21:38.980Z","etag":null,"topics":["dialogue-relation-extraction","graph-neural-networks","relation-extraction"],"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/declare-lab.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}},"created_at":"2020-09-14T07:50:54.000Z","updated_at":"2024-11-09T16:11:04.000Z","dependencies_parsed_at":"2023-01-15T17:45:43.289Z","dependency_job_id":null,"html_url":"https://github.com/declare-lab/dialog-HGAT","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/declare-lab%2Fdialog-HGAT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declare-lab%2Fdialog-HGAT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declare-lab%2Fdialog-HGAT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/declare-lab%2Fdialog-HGAT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/declare-lab","download_url":"https://codeload.github.com/declare-lab/dialog-HGAT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248821747,"owners_count":21166950,"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":["dialogue-relation-extraction","graph-neural-networks","relation-extraction"],"created_at":"2024-11-08T01:59:45.681Z","updated_at":"2025-04-14T04:31:48.128Z","avatar_url":"https://github.com/declare-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dialog-HGAT\nThis repository contains the Pytorch implementation of [Dialogue Relation Extraction with Document-level Heterogeneous Graph Attention Networks](https://arxiv.org/pdf/2009.05092.pdf).\n\n## Setup\nDownload GloVe vectors from [here](https://www.kaggle.com/thanakomsn/glove6b300dtxt/data) and put it into `dataset/` folder\n\nNext Install the required libraries:\n1. Assume you have installed Pytorch \u003e= 1.5\n2. Install dgl library according to your cuda version using the commands below\n```sh\npip install --pre dgl-cu100     # For CUDA 10.0 Build\npip install --pre dgl-cu101     # For CUDA 10.1 Build\npip install --pre dgl-cu102     # For CUDA 10.2 Build\n```\n3. Install PytorchLightning [github](https://github.com/PyTorchLightning/pytorch-lightning)\n4. Install from requirements.txt by `pip install -r requirements.txt` and run `python -m spacy download en_core_web_sm`\n\n## Run code\n\n### Training\n```sh\npython main.py\n```\n\n### Testing\n```sh\npython main.py --mode test --ckpt_path [your_ckpt_file_path]\n```\n\n## Citation\nIf you find the code helpful in your research, please cite:\n\n```\n@article{chen2020dialogue,\n  title={Dialogue relation extraction with document-level heterogeneous graph attention networks},\n  author={Chen, Hui and Hong, Pengfei and Han, Wei and Majumder, Navonil and Poria, Soujanya},\n  journal={Cognitive Computation},\n  year={2022}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeclare-lab%2Fdialog-hgat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeclare-lab%2Fdialog-hgat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeclare-lab%2Fdialog-hgat/lists"}