A tool for taxonomy construction using Graph Neural Networks (GNN).

IBM, updated 🕥 2023-02-10 23:09:31

Graph2Taxo

Graph2Taxo is a GNN-based cross-domain transfer framework for taxonomy construction. It uses a noisy graph constructed from automatically extracted noisy hyponym-hypernym candidate pairs, and a set of taxonomies for some known domains for training. The learned model is then used to generate taxonomy for a new unknown domain given a set of terms for that domain.

If you use this system, please cite the following paper - @inproceedings{chao2020-g2t, title={Taxonomy Construction of Unseen Domains via Graph-based Cross-Domain Knowledge Transfer}, author={Chao Shang and Sarthak Dash and Md Faisal Mahbub Chowdhury and Nandana Mihindukulasooriya and Alfio Gliozzo}, booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL 2020) }, publisher = "Association for Computational Linguistics", year = {2020}, }

Installation

Install PyTorch from the official website or using Anaconda.

Initializing Git submodules.

After cloning the repo, if you need to process the data, please use the command git submodule update to initialize the dependent submodules. This will clone TaxoRL and TAXI projects that are used to reproduce data from existing experiments.

git submodule update

Train model

Dataset

TAXI data is given in the "data/TAXI_dataset" folder. Data from TaxoRL paper is given in the "data/TaxoRL_dataset" folder.

When you process the data, you can run:

python preprocess.py

Train model

When you train the model, you can run:

python train.py

Design your own model

You can directly modify the GRAPH2TAXO model in the "models.py" file.

Acknowledgments

GCN, TaxoRL, TAXI and SACN.

Issues

Bump ipython from 7.16.3 to 8.10.0

opened on 2023-02-10 23:09:30 by dependabot[bot]

Bumps ipython from 7.16.3 to 8.10.0.

Release notes

Sourced from ipython's releases.

See https://pypi.org/project/ipython/

We do not use GitHub release anymore. Please see PyPI https://pypi.org/project/ipython/

Commits
  • 15ea1ed release 8.10.0
  • 560ad10 DOC: Update what's new for 8.10 (#13939)
  • 7557ade DOC: Update what's new for 8.10
  • 385d693 Merge pull request from GHSA-29gw-9793-fvw7
  • e548ee2 Swallow potential exceptions from showtraceback() (#13934)
  • 0694b08 MAINT: mock slowest test. (#13885)
  • 8655912 MAINT: mock slowest test.
  • a011765 Isolate the attack tests with setUp and tearDown methods
  • c7a9470 Add some regression tests for this change
  • fd34cf5 Swallow potential exceptions from showtraceback()
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/IBM/gnn-taxo-construction/network/alerts).

Reimplement third-party functionalities

opened on 2020-04-22 17:11:08 by nandana

Right now we are using two files from existing libraries (as submodules and ask users to clone the two repos using submodule update.

We can check if we can easily reimplement those utils so we don't have to use submodules.

Third part files being used now: 1. TaxoRL.code.utils_tree 2. TAXI.jnt.morph

International Business Machines
GitHub Repository