Text to SQL with NSQL

The NSQL model family was published by Numbers Station and is available in three flavors:

This demo let's you choose from all of them and provides the three examples you can also find in their model cards.

In general you should first provide the table schemas of the tables you have questions about and then prompt it with a natural language question.
The model will then generate a SQL query that you can run against your database.

model_choice
Examples
Table schemas Specify Task Prompt model_choice