Downloads · 30 days
4
3% of all-time downloads
adithyabhaskar/flan-t5-xl-template-gen
flan-t5-xl-template-gen is a machine learning model from adithyabhaskar. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
4
3% of all-time downloads
All-time downloads
124
Public
Repo size
22.8 GB
Likes
0
Public
Click a slice to open those files.
.bin11.4 GB · 100%
From the Hugging Face model README
A FLAN-T5-XL model that, given a natural question along with a database schema, converts it to the template (skeleton) of the equivalent SQL query. The input format is
template generation: <question> | <db_id> | <schema_without_content>
The output format is
<db_id> | <J> joins @ <S> selects @ <template>
The plan at the beginning is used to enforce diversity as described in our paper. A typical template looks like SELECT column, column FROM table AS t1 JOIN table AS t2.