A capable large language model for natural language to SQL generation. Outperforms all generalist models (including GPT-4) on text to SQL.
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
This model is intended to be used by non-technical users to understand data inside their SQL databases. It is meant as an analytics tool, and not as a database admin tool.
This model has not been trained to reject malicious requests from users with write access to databases, and should only be used by users with read-only access.
Use the code
here to get started with the model.
This model was evaluated on
SQL-Eval, a PostgreSQL based evaluation framework developed by Defog for testing and alignment of model capabilities.
You can read more about the methodology behind SQLEval
here.
We classified each generated question into one of 6 categories. The table displays the percentage of questions answered correctly by each model, broken down by category.