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

On clause are missing in inference output #30

Open b4zyuvaraj opened 2 years ago

b4zyuvaraj commented 2 years ago

Hi,

I am facing some issue on identity the "ON clause" from output,

Question: List the pilots are from london Result: SELECT pilot.Name FROM pilot JOIN match WHERE match.Location = 'terminal'

Is there any solution to find the on clauses?

Thanks in advance ​

kevintrc commented 2 years ago

Hi, Have you found out a solution to this brother ?

b4zyuvaraj commented 2 years ago

Hi, Have you found out a solution to this brother ?

Not Yet Brother, With BART Model No Luck.

You could try using Rat-SQL with BERT / GLOVE Model. Which seems to be fair option.

If I you get and solution Do share with me.