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

Velocity · 7d
+0.2
★ / day
Trend
→steady
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.