text2sql-lgesql icon indicating copy to clipboard operation
text2sql-lgesql copied to clipboard

How to add values generation ?

Open Elienvalleau opened this issue 2 years ago • 2 comments

I am interested in your work and wanted to add the values to the generated SQL code. Unfortunately, despite several attempts I could not do it. I suspect it must be possible since the model seems to "understand" what the values are in the initial sentence. Is this possible and if so how? Thank you!

Elienvalleau avatar Dec 30 '22 12:12 Elienvalleau

The same question with you. Could you please tell me if you have solved that?

I am interested in your work and wanted to add the values to the generated SQL code. Unfortunately, despite several attempts I could not do it. I suspect it must be possible since the model seems to "understand" what the values are in the initial sentence. Is this possible and if so how? Thank you!

fengxin-zhxx avatar Mar 11 '24 06:03 fengxin-zhxx

For value generation in a grammar-based parser, you can see my repository ASTormer for details, which adopts a pointer-generator network for value generation.

rhythmcao avatar Mar 11 '24 07:03 rhythmcao