{"id":17842841,"url":"https://github.com/shashwath94/relation-extraction-using-cnn","last_synced_at":"2025-08-17T03:35:57.116Z","repository":{"id":131397997,"uuid":"110847436","full_name":"shashwath94/Relation-Extraction-using-CNN","owner":"shashwath94","description":"A Chainer implementation of a Convolutional Network model for relation classification in the SemEval Task 8 dataset. This model performs Multi-Way Classification of Semantic Relations Between Pairs of Nominals in the SemEval 2010 task 8 dataset.","archived":false,"fork":false,"pushed_at":"2018-01-16T20:04:21.000Z","size":509,"stargazers_count":17,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-16T03:04:49.092Z","etag":null,"topics":["chainer","cnn-text-classification","convolutional-neural-networks","deep-learning","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shashwath94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-11-15T14:58:29.000Z","updated_at":"2023-03-28T02:56:23.000Z","dependencies_parsed_at":"2023-05-11T01:30:12.849Z","dependency_job_id":null,"html_url":"https://github.com/shashwath94/Relation-Extraction-using-CNN","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/shashwath94%2FRelation-Extraction-using-CNN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashwath94%2FRelation-Extraction-using-CNN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashwath94%2FRelation-Extraction-using-CNN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashwath94%2FRelation-Extraction-using-CNN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shashwath94","download_url":"https://codeload.github.com/shashwath94/Relation-Extraction-using-CNN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232369920,"owners_count":18512832,"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":["chainer","cnn-text-classification","convolutional-neural-networks","deep-learning","python3"],"created_at":"2024-10-27T21:18:16.679Z","updated_at":"2025-01-03T17:26:24.937Z","avatar_url":"https://github.com/shashwath94.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relation-Extraction-using-CNN\nA Chainer implementation of a Convolutional Network model for relation classification in the SemEval Task 8 dataset. This model performs Multi-Way Classification of Semantic Relations Between Pairs of Nominals in the SemEval 2010 task 8 dataset.\n\nThe CNN model is inspired by \u003ca href=http://www.aclweb.org/anthology/C14-1220\u003e Relation Classification via Convolutional Deep Neural Network\u003c/a\u003e\n\nRequirements\n\n\u003cb\u003eRequirements\u003c/b\u003e\n1. Python3\n2. Chainer\n3. vsmlib\n4. numpy\n5. Word Embeddings (It can be downloaded from https://nlp.stanford.edu/projects/glove/, the Stanford NLP group has a bunch of open source pre-trained Glove embeddings or you can use your own embeddings. Just specify the path in config.yaml)\n\n\u003cb\u003eDataset\u003c/b\u003e\nThe Semeval 2010 task 8 dataset can be downloaded from https://docs.google.com/document/d/1QO_CnmvNRnYwNWu1-QCAeR5ToQYkXUqFeAJbdEhsq7w/preview. A small subset of the data has been provided to get you started. The format of the data is as follows:\n```\nComponent-Whole(e2,e1)\t12\t15\tThe system as described above has its greatest application in an arrayed configuration of antenna elements .\n```\nThe first part is the label ie, the relation between the nominals present at index 12 and 15 respectively.\n\n\n\u003cb\u003eConfiguration parameters\u003c/b\u003e\nAll the config parameters and the hyperparameters of the model can be specified in the config.yaml file.\n\n\u003cb\u003eTrain the model\u003c/b\u003e\n```\npython3 main.py config.yaml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashwath94%2Frelation-extraction-using-cnn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashwath94%2Frelation-extraction-using-cnn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashwath94%2Frelation-extraction-using-cnn/lists"}