Sure,
I’d recommend taking a look at the SQLCoder project: GitHub - defog-ai/sqlcoder: SoTA LLM for converting natural language questions to SQL queries. They fine-tune open-source LLMs for natural language → SQL and are able to outperform closed-source models such as GPT-4.