spider
spider copied to clipboard
Provide Own Data to Generate SQL
Hi, I have looked at a few models contributing to Spider, and many of the GitHub issues include someone asking how to generate a SQL query only providing a question and a sqlite db. None of these questions have received answers, and I have not been able to figure out a way to do so. Any insight? Thanks!
+1
You can use RatSQL model for your own custom DB and natural language. In one of the issues you can find a pre-trained model and use the code here for your requirement https://github.com/microsoft/rat-sql/issues/17