Comments (14)
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.
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.
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.
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.
Can you precisely tell me what's the problem??
from rat-sql.
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.
--> 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.
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.
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.
it requires only:
!pip install -r requirements.txt
!pip install jsonnet
!pip install attr
for setting up the environment?
from rat-sql.
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.
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.
Yes it requires that package too. Try installing with !pip install corenlp command
from rat-sql.
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)
- How did you generate the heatmap plots for the attentions? HOT 2
- Issue during preprocessing: 'CoreNLP' object has no attribute 'client' HOT 6
- Do you have notebook version for RATSQL ? HOT 5
- Can`t train the model with GPU on a server with RTX3090 HOT 1
- Execution accuracy
- An error in preprocess HOT 3
- preporcessing issue HOT 2
- 0% accuracy during evaluation from trained model. - GLOVE HOT 1
- Decoder vocabulary file not created/found HOT 1
- How to find the 'terminal' value in the questions HOT 1
- The process is killed every 280 steps HOT 2
- Schema Modeling HOT 3
- How to execute my own queries in BERT
- Failed to generate val.jsonl after the preprocess of BERT-version rat-sql
- Trained model
- System Requirements
- 这个模型代码,可以应用与中文的数据么
- Colab Implementation of RatSQL and SPIDER dataset HOT 1
- How to customize for other dataset?
- 如何将数据库列名与给定的query对齐
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rat-sql.