Coder Social home page Coder Social logo

Comments (14)

senthurRam33 avatar senthurRam33 commented on May 16, 2024

After updating the CUDA package, this issue has been resolved. We can train the BERT in P100 but it may take upto a week

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

Hi @senthurRam33

Can you tel me please how to run RATSQL in Google colab? Precisely how to set up the environment based on docker ?

Thank you very much.

from rat-sql.

senthurRam33 avatar senthurRam33 commented on May 16, 2024

I didn't implement docker on colab as it is nearly impossible to run docker in that. I installed all the packages by mounting google drive on colab and started training. If the training stops, then I started retraining from the previously saved model using checkpoints

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

Thank you @senthurRam33 four your replay.

you said 'I installed all the packages by mounting google drive on colab'
How did you do that?
I have the problem of setting up the environment !!

from rat-sql.

senthurRam33 avatar senthurRam33 commented on May 16, 2024

Can you precisely tell me what's the problem??

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

Since it is impossible to use docker in colab, I want to set up manually the environment (installing packages and dependencies) in order to run RATSQL.

How to do that in colab?

from rat-sql.

senthurRam33 avatar senthurRam33 commented on May 16, 2024

--> First clone the repo in the google drive
--> Then install all the packages required to run the repo
--> Then upload the datasets in the drive
--> Then run the commands given in the repo to start the training
I would recommend you to use colab pro for faster training

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

I have the problem just in the second step.
How to install all the packages required to run the repo ?
By simply running 'pip install -r requirements.txt' ?

sorry for the perturbation

from rat-sql.

senthurRam33 avatar senthurRam33 commented on May 16, 2024

Yes. But in colab you run terminal commands like this "!pip install -r requirements.txt".
But there are some packages that needs to be installed separetely. In my case, jsonnet and attr packages

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

it requires only:
!pip install -r requirements.txt
!pip install jsonnet
!pip install attr
for setting up the environment?

from rat-sql.

senthurRam33 avatar senthurRam33 commented on May 16, 2024

For me those are the ones that required.
Just try to run the repo using the command. It will tell you what are the packages that you are missing

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

Thank you very much @senthurRam33
Just one more remark, I think it requires also running Stanford corenlp server, is it true ? if yes how?

from rat-sql.

senthurRam33 avatar senthurRam33 commented on May 16, 2024

Yes it requires that package too. Try installing with !pip install corenlp command

from rat-sql.

mellahysf avatar mellahysf commented on May 16, 2024

And I think also it requires python>=3.7 instead of the default python in colab which is 3.6.9

Thank you very much for all your help.

I will try to run it in colab.

from rat-sql.

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.