flan-t5-xl-t2s-w-plan
Model description
A FLAN-T5-XL model that, given an English question and a database schema, converts it to an equivalent SQL query. The query is preceeded by a plan, which allows for control over certain aspects of the query via prefix enforcement. This is the model to be used for the direct-ablation of our paper. The input format is
semantic parse: <question> | <db_id> | <schema>
The output format is
<db_id> | <J> joins @ <S> selects @ <query>
- Downloads last month
- 9