Code Monkey home page Code Monkey logo

Comments (4)

DevinJake avatar DevinJake commented on July 29, 2024

Hi, Snnzhao, thank you for noticing our work.
Actually, since we employed RL in the training, most of the time consumed in the training process is the time that we searched for the triples in the KG server and computed the rewards.
That means the bottleneck of the training time is the I/O time, i.e., the knowledge base query time and the network transfer time.
We established the webserver and the GPU server in the same local network and therefore reduce the I/O time a lot.
However, when computing the reward, we still need to retrieve the relevant triples in the huge KG, conduct reasoning, predict answers, and calculate the reward to train the model by using the RL paradigm, which will inevitably cost some time.
That's why the training time is much more than the conventional end-to-end models.
In our experiment environment, an epoch will consume 4~6 hours.
We have re-implement the previous work, such as CIPITR, and took over one month to finish training the model.
Cheers!

from ns-cqa.

Snnzhao avatar Snnzhao commented on July 29, 2024

Hi, DevinJake. Thanks for your help. If I train with i7 8cores, 2070Maxq laptop under the same local networks. Will it be enough for trainning? If not, what machine configuration should be enough.

from ns-cqa.

DevinJake avatar DevinJake commented on July 29, 2024

Hi, DevinJake. Thanks for your help. If I train with i7 8cores, 2070Maxq laptop under the same local networks. Will it be enough for trainning? If not, what machine configuration should be enough.

If you are using the laptop, that will cost more time.
The configuration of my laptop is i7-9750 2.6GHz, 8 cores, RTX 2070.
Compared with the GPU server in our lab, which consists of RTX 2080, the training on my laptop is much slower.
Approximately it will take twice as much time as the GPU server to train.
The GPU on your laptop is actually enough to train the model, however, it is not devoted to deep learning.
I think you could have a try on your laptop. You could train the model and the time would not be that bad.
But I still recommend you to configure the experiment environment on the GPU server, if possible.
Good luck, cheers!

from ns-cqa.

Snnzhao avatar Snnzhao commented on July 29, 2024

Thanks.

from ns-cqa.

Related Issues (7)

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.