Comments (5)
have you preprocess the data?
from nl2sql.
ub16hp@UB16HP:/ub16_prj/NL2SQL$ python extract_vocab.py/ub16_prj/NL2SQL$
Loading from original dataset
Loading data from data/train_tok.jsonl
Traceback (most recent call last):
File "extract_vocab.py", line 21, in
load_dataset(0, use_small=USE_SMALL)
File "/home/ub16hp/ub16_prj/NL2SQL/sqlnet/utils.py", line 41, in load_dataset
'data/train_tok.tables.jsonl', use_small=use_small)
File "/home/ub16hp/ub16_prj/NL2SQL/sqlnet/utils.py", line 18, in load_data
with open(SQL_PATH) as inf:
IOError: [Errno 2] No such file or directory: 'data/train_tok.jsonl'
ub16hp@UB16HP:
cannot find _tok in the data.tar.gz in wikisql
from nl2sql.
Can not read your post.
from nl2sql.
ub16hp@UB16HP:/ub16_prj/NL2SQL$ python extract_vocab.py/ub16_prj/NL2SQL$
Loading from re-split dataset
Loading data from data/train.jsonl
Loading data from data/train.tables.jsonl
Loading data from data/dev.jsonl
Loading data from data/dev.tables.jsonl
Loading data from data/test.jsonl
Loading data from data/test.tables.jsonl
Loading word embedding from glove/glove.42B.300d.txt
Length of word vocabulary: 1917494
Traceback (most recent call last):
File "extract_vocab.py", line 39, in
for tok in sql['question_tok']:
KeyError: 'question_tok'
ub16hp@UB16HP:
from nl2sql.
I figure it out.
from nl2sql.
Related Issues (2)
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.