← all repositories

microsoft/rat-sql

A transformer-based semantic parsing model that converts English text into SQL queries.

447 stars Python Language ModelsDomain Apps
rat-sql
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.