Git Product home page Git Product logo

Comments (3)

apoorvumang avatar apoorvumang commented on July 17, 2024

That command is for half kg, for full you need to replace --kg_type half with --kg_type full in the command.

python3 main.py --mode train --relation_dim 200 --hidden_dim 256
--gpu 2 --freeze 0 --batch_size 128 --validate_every 5 --hops 2 --lr 0.0005 --entdrop 0.1 --reldrop 0.2 --scoredrop 0.2
--decay 1.0 --model ComplEx --patience 5 --ls 0.0 --kg_type half

We found that using BiLSTM is good enough when we have a large number of questions as in MetaQA and saves a lot of training time and compute without affecting the results - you should get the same results with the fixed command.

from embedkgqa.

ToneLi avatar ToneLi commented on July 17, 2024

Thanks, the commond in hop1, hop2 and hop3 is same? just the parameters "hops" is different? On the other hand, can you supply the half metaQA training command? to get the entity embedding and relation embedding?

from embedkgqa.

apoorvumang avatar apoorvumang commented on July 17, 2024

Thanks, the commond in hop1, hop2 and hop3 is same? just the parameters "hops" is different

Yes

can you supply the half metaQA training command? to get the entity embedding and relation embedding?

Sure, please create this as another issue so it is easier to track, thanks!

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.