microsoft/rat-sql
A transformer-based semantic parsing model that converts English text into SQL queries.

Not currently ranked — collecting fresh signals.
star history
RAT-SQL is a relation-aware schema encoding model for text-to-SQL parsing published at ACL 2020. It uses transformer architectures with relation-aware attention mechanisms to encode database schemas and link natural language utterances to SQL queries. The model handles schema encoding and value linking for English-to-SQL generation, evaluated on Spider and WikiSQL benchmarks.
Frequently asked
- What is microsoft/rat-sql?
- A transformer-based semantic parsing model that converts English text into SQL queries.
- Is rat-sql open source?
- Yes — microsoft/rat-sql is open source, released under the MIT license.
- What language is rat-sql written in?
- microsoft/rat-sql is primarily written in Python.
- How popular is rat-sql?
- microsoft/rat-sql has 450 stars on GitHub.
- Where can I find rat-sql?
- microsoft/rat-sql is on GitHub at https://github.com/microsoft/rat-sql.