Training Text-To-SQL models

Does anyone have any suggestions on how to train a model for text-to-SQL tasks? I also want my model to work with a specific schema only. How can I achieve that?

The idea is to train a model with a specific dataset that represents a variety of queries based on my database schema. After the training, I want my model to return only answers related to my schema.

1 Like

Hi, I am also working with the T5 model for query generation from the natural language on my dataset. Do you find any way in achieving it? If yes, please provide the steps for it

Thanks

1 Like