naver/sqlova

Why wnp’s result is not the input for wcp?

Closed this issue · 2 comments

image
In https://github.com/naver/sqlova/blob/master/sqlova/model/nl2sql/wikisql_models.py

wnp is the where number predict, wcp is the where column predict.
So I think wnp's result should be the input for wcp.
Thank you! @whwang299

Hi @guotong1988
The WCP module in SQLova estimates the probability of generating each column in where clause. And select top n number of column among them where n is estimated from the WNP module.

Wonseok