Git Product home page Git Product logo

Comments (3)

HTMLgtMK avatar HTMLgtMK commented on July 17, 2024

Knowledge graph embedding:

  1. Download dataset from KnowledgeGraphEmbedding.git. This project contain almost dataset we need for KGE.
  2. Enter directory train_embeddings, activate python3 env. run command with some arguments in shell:
python3 main.py \
--dataset FB15k \
--model Rotat3 \
--cuda True

note : create directory kg_embeddings in EmbedKBQA before trainning.

KBQA:

  1. Download RoBERTa into ./KGQA, in case of long downloading cost.
  2. Download MetaQA dataset, and WebQuestionSP dataset.
  3. modify some directory in ./KGQA/main.py, specify dataset path.
  4. run ./KGQA/main.py.
    BTW, I am not run this command success yet. Since I cost lots of time in downloading RoBERTa.

from embedkgqa.

apoorvumang avatar apoorvumang commented on July 17, 2024

Hi, thanks for your comments @HTMLgtMK . Some of the instructions you listed might be very useful!
The complete instructions/dataset are yet to be posted. Unfortunately I'm busy with some stuff on my end which is causing this delay. Practically, please expect this to take another week or two to get a properly documented solution for reproducing the results stated in our paper.

The problem is that the current working code/data is not organized properly and needs a bit of refactoring to make it run easily on other machines. The currently uploaded code, however, is the core of it.

I hope this is ok. In any case, if this delay seems unjustified, please do let me know and I'll see what I can do.
I'll be keeping this issue pinned in case anyone else also wants to comment on this.
Thanks!

from embedkgqa.

apoorvumang avatar apoorvumang commented on July 17, 2024

Added instructions in the README and updated the code, please check @lbda1

from embedkgqa.

Related Issues (20)

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.