Coder Social home page Coder Social logo

xiefeng69 / gaea Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 27 KB

[PAKDD2023] Improving Knowledge Graph Entity Alignment with Graph Augmentation

Jupyter Notebook 20.65% Python 79.35%
contrastive-learning entity-alignment graph-neural-networks knowledge-graph

gaea's Introduction

GAEA

[PAKDD2023] The source codes for Improving Knowledge Graph Entity Alignment with Graph Augmentation.

Getting Started

Datasets

We use entity alignment benchmark datasets OpenEA which can be downloaded from OpenEA. You need to put the prepared data into ../data/ folder.

Dependencies

  • Python 3
  • PyTorch
  • networkx==2.5.1
  • Scipy
  • Numpy
  • Pandas
  • Scikit-learn

You can automatically download corresponding dependencies by following scripts:

conda create -n GAEA python=3.6
conda activate GAEA
conda install -n GAEA pytorch=1.10.2 torchvision torchaudio cudatoolkit=11.3.1 -c pytorch # change according to your need here
pip install -r .\requirements.txt

Running

To run GAEA, please use the following scripts (ps: --task is an argument):

python train.py --task en_fr_15k
python train.py --task en_de_15k
python train.py --task d_w_15k
python train.py --task d_y_15k

To run 5-fold cross-validation, please use the following script:

python run_fold.py --task en_fr_15k

We also provide jupyter notebook version in GAEA.ipynb.

If you have any difficulty or question in running code and reproducing experimental results, please email to [email protected].

Acknowledgement

We refer to the codes of these repos: GCN-Align, OpenEA, MuGNN, IMEA. Thanks for their great contributions!

gaea's People

Contributors

xiefeng69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gaea's Issues

Why does it couldn't work on dbp15k?

image
Thanks for your work!
I've reproduced the main results mentioned in your paper. However, when I try to run this code on dbp15k , it seems something wrong occured. Why does it happen?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.