Comments (13)
I have uploaded some code. Please update and try again.
from nl2sql-rule.
Same error again with the python command you provided
from nl2sql-rule.
I have uploaded the config file.
from nl2sql-rule.
You should find why bert_config.print_status()
fails.
from nl2sql-rule.
I have the same error
from nl2sql-rule.
I have the same error
Did you find the solution ?
from nl2sql-rule.
@Sourish97 @TobiasBrx @musamaalvi Did u guys find anything?
from nl2sql-rule.
I will take a look
from nl2sql-rule.
@siddharthrawal121 yes,
what I did is simply I stopped importing BertConfig. Comment the below line in your code
from bert.modeling import BertConfig, BertModel
After this copy all the code from bert.modeling file and paste it into train.py. This resolved the issue for me.
from nl2sql-rule.
Hi @musamaalvi. I tried it didnt work and when I checked the code there is no method or class in bert.config for print_status. Maybe they removed print_status in later version. Which bert version are you using?
from nl2sql-rule.
@musamaalvi Nvm , fixed the issue by using the the modelling.py in bert folder of NL2SQL-RULE
from nl2sql-rule.
it seems export PYTHONPATH=/your/project/root/
I guess.
from nl2sql-rule.
yes @guotong1988. I solved it
from nl2sql-rule.
Related Issues (20)
- ERROR when running train.py (RuntimeError: Error(s) in loading state_dict for Seq2SQL_v1) HOT 1
- a requirements.txt ? HOT 2
- How much time to train this model HOT 1
- How do I use this for my dataset? HOT 3
- train.py HOT 5
- Updates on Large Models. HOT 1
- 两个额外特征 HOT 1
- CRF support HOT 1
- 《leveraging table content for zero-shot text-to-sql with meta-learning》
- bertindex_knowledge and header_knowledge HOT 3
- Test Data HOT 3
- Does this model support converting Chinese language to SQL? HOT 1
- Killed - python train.py - CPU HOT 1
- Why no use of BertTokenizer? HOT 1
- Evaluate cmd statement HOT 1
- evaluate how to use HOT 1
- AttributeError: ‘RMKeyView‘ object has no attribute ‘index‘ HOT 1
- No module named '_sqlite3' HOT 1
- TODO, add the data type info of column into model
- from sqlnet.dbengine import DBEngine ModuleNotFoundError: No module named 'sqlnet.dbengine' HOT 1
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 nl2sql-rule.