-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prediction uses select column from the ground truth #3
Comments
Hi @farsmile To predict SQL from the plane text, you need to tokenize questions first by using StandforeCoreNLP, for example, by using following function. Lines 18 to 34 in b7ce9ad
After that, to generate SQL, the ground truth is not required. It is used in Lines 432 to 441 in b7ce9ad
Thanks. Wonseok |
Hi Wonseok: |
same question, How did you change it? |
Hi Wonseok:
thanks for your pretty work here and the issue is as following:
https://github.com/naver/sqlova/blob/master/train.py#L406
g_wvi_corenlp = get_g_wvi_corenlp(t)
this is using the "conds" in dev and if one want to predict from a plan sentence of english, he would not find the way to get something like "{"conds":[[0,0,"1998"]], "sel":1, "agg":0}".
the following url tells a similar problem on SQLnet
xiaojunxu/SQLNet#12
thank a lot
The text was updated successfully, but these errors were encountered: