caesarHQ / textSQL

https://censusgpt.com
MIT License
1.54k stars 154 forks source link

[Improvement] Advanced SQL Generation (RESDSQL) #85

Open alex-sun-kuo opened 1 year ago

alex-sun-kuo commented 1 year ago

https://github.com/RUCKBReasoning/RESDSQL

^ This repo has an implementation of this paper: https://arxiv.org/pdf/2302.05965.pdf It details an advanced strategy for generating accurate SQL to answer a natural language query. As far as I understand there's a muli-step sequential process:

It would be dope to implement this in our project. It would help us scale up to larger datasets.

Currently, we just do:

Screenshot 2023-03-13 at 4 51 06 PM

asaprahul commented 1 year ago

wow interesting stuff. this is optimizing on the encoder / decoder level for optimal SQL generation.

Ranking-enhanced Encoding and Skeleton-aware Decoding

I'm gonna try to understand this. Also tried looking for this model on HuggingFace but couldn't find it, otherwise that would be pretty awesome