{"id":13692804,"url":"https://github.com/lasigeBioTM/BiONT","last_synced_at":"2025-05-02T19:32:39.788Z","repository":{"id":38839201,"uuid":"232124821","full_name":"lasigeBioTM/BiOnt","owner":"lasigeBioTM","description":"BiOnt: Deep Learning using Multiple Biomedical Ontologies for Relation Extraction","archived":false,"fork":false,"pushed_at":"2023-11-30T17:45:18.000Z","size":16783,"stargazers_count":26,"open_issues_count":1,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-12T18:42:11.474Z","etag":null,"topics":["biomedical-text-mining","deep-learning","ontologies","relation-extraction","text-mining"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lasigeBioTM.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}},"created_at":"2020-01-06T15:03:28.000Z","updated_at":"2024-01-24T16:02:52.000Z","dependencies_parsed_at":"2024-04-08T02:18:27.725Z","dependency_job_id":"136bb59b-288e-489a-aaae-95fa2ad8ce60","html_url":"https://github.com/lasigeBioTM/BiOnt","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/lasigeBioTM%2FBiOnt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasigeBioTM%2FBiOnt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasigeBioTM%2FBiOnt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasigeBioTM%2FBiOnt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasigeBioTM","download_url":"https://codeload.github.com/lasigeBioTM/BiOnt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252095454,"owners_count":21693920,"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":["biomedical-text-mining","deep-learning","ontologies","relation-extraction","text-mining"],"created_at":"2024-08-02T17:01:02.223Z","updated_at":"2025-05-02T19:32:38.751Z","avatar_url":"https://github.com/lasigeBioTM.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# BiOnt: Deep Learning using Multiple Biomedical Ontologies for Relation Extraction\n\nTo perform relation extraction, our deep learning system, BiOnt, employs four types of biomedical ontologies, namely, the Gene Ontology, the Human Phenotype Ontology, the Human Disease Ontology, and the Chemical Entities of Biological Interest, regarding gene-products, phenotypes, diseases, and chemical compounds, respectively. \n\nOur academic paper which describes BiOnt in detail can be found [here](https://doi.org/10.1007/978-3-030-45442-5_46).\n\n## Downloading Pre-Trained Weights\n\nAvailable versions of pre-trained weights are as follows:\n\n* [DRUG-DRUG](https://zenodo.org/records/10230879?token=eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjY4ZTE5ZGUxLTQ3ZDEtNDIzZS05MTBhLWNmOGQ4NDc4Mzc4MCIsImRhdGEiOnt9LCJyYW5kb20iOiI0MGRlM2VhOTJiNjZiODk2ODQ0N2ZiOTJmMTRlN2Y5NCJ9.pMax9Vk9YV8CRUl-Ga2VxQXUVuXOkzcaW5NECrsm9doN1e5mizR3VVrXkAcDGLH5FjR642wcd_EqzUFSo28rnA)\n* [DRUG-DISEASE](https://zenodo.org/records/10230879?token=eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjY4ZTE5ZGUxLTQ3ZDEtNDIzZS05MTBhLWNmOGQ4NDc4Mzc4MCIsImRhdGEiOnt9LCJyYW5kb20iOiI0MGRlM2VhOTJiNjZiODk2ODQ0N2ZiOTJmMTRlN2Y5NCJ9.pMax9Vk9YV8CRUl-Ga2VxQXUVuXOkzcaW5NECrsm9doN1e5mizR3VVrXkAcDGLH5FjR642wcd_EqzUFSo28rnA)\n* [GENE-PHENOTYPE](https://zenodo.org/records/10230879?token=eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjY4ZTE5ZGUxLTQ3ZDEtNDIzZS05MTBhLWNmOGQ4NDc4Mzc4MCIsImRhdGEiOnt9LCJyYW5kb20iOiI0MGRlM2VhOTJiNjZiODk2ODQ0N2ZiOTJmMTRlN2Y5NCJ9.pMax9Vk9YV8CRUl-Ga2VxQXUVuXOkzcaW5NECrsm9doN1e5mizR3VVrXkAcDGLH5FjR642wcd_EqzUFSo28rnA)\n\nThe training details are described in our academic paper.\n\n## Getting Started\n\n````\n cd bin/\n git clone git@github.com:lasigeBioTM/DiShIn.git\n````\n\nUse the Dockerfile to set up the rest of the experimental environment or the [BiOnt Image](https://hub.docker.com/r/dpavot/biont) available at Docker Hub. \n## Preparing Data\n\n* $2: type_of_action\n* $3: pair_type\n* $4: preprocess_what\n* $5: input_path\n\n### Example:\n\n````\n python3 src/ontologies_embeddings.py preprocess DRUG-DRUG train corpora/drug_drug/train\n python3 src/ontologies_embeddings.py preprocess DRUG-DRUG test corpora/drug_drug/test\n````\n\nFor more options check **model.sh**.\n\n## Train Model\n\n* $2: type_of_action\n* $3: pair_type\n* $4: model_name\n* $6:: channels\n\n### Example:\n\n````\n python3 src/ontologies_embeddings.py train DRUG-DRUG model_name words wordnet concatenation_ancestors common_ancestors\n````\n\nFor more options check **model.sh**.\n\n## Predict New Data\n\n* $2: type_of_action\n* $3: pair_type\n* $4: model_name\n* $5: gold_standard OR data_to_test\n* $6:: channels\n\n### Example:\n\n````\n python3 src/ontologies_embeddings.py test DRUG-DRUG model_name corpora/drug_drug/test words wordnet concatenation_ancestors common_ancestors\n````\n\nFor more options check **model.sh**.\n\n## Reference\n\n- Diana Sousa and Francisco M. Couto. 2020. BiOnt: Deep Learning using Multiple Biomedical Ontologies for Relation Extraction. In Jose J. et al. (eds) Advances in Information Retrieval. ECIR 2020. Lecture Notes in Computer Science, Volume 12036, pages 367-374. Springer, Cham.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlasigeBioTM%2FBiONT","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FlasigeBioTM%2FBiONT","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlasigeBioTM%2FBiONT/lists"}