awslabs / gap-text2sql

GAP-text2SQL: Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training
https://arxiv.org/abs/2012.10309
Apache License 2.0
102 stars 25 forks source link

Can anyone help out in figuring out what is "terminal" here? #26

Open surajjkumar opened 2 years ago

surajjkumar commented 2 years ago

While executing a natural language query "Birth year of Gina Rinehart", we got the following sql query output. The output sql query is okay, but whenever we are calling any variable data(in this case, our variable is 'Gina Rinehart'), we are getting "terminal"

Natural language query from spider's singer database: Birth year of Gina Rinehart. Corresponding output SQL query: SELECT singer.Birth_Year FROM singer WHERE singer.Name = 'terminal'

image

david-xander commented 2 years ago

I have the exact same issue here Screenshot 2022-02-01 at 09 31 25 !

rahuls321 commented 1 year ago

checkout this - https://github.com/awslabs/gap-text2sql/issues/5#issuecomment-774560800