Text-To-SQL Converter
Project converts natural language queries into SQL statements by finetuning a pretrained NLP model. It utilizes Flask for the API backend and a Transformer-based model (t5-small) for SQL generation
Created on 23rd February 2025
•
Text-To-SQL Converter
Project converts natural language queries into SQL statements by finetuning a pretrained NLP model. It utilizes Flask for the API backend and a Transformer-based model (t5-small) for SQL generation
The problem Text-To-SQL Converter solves
Majorly Text-To-SQL converter can be used by a person who is not proficient in writing SQL queries but knows english and database well,such person can use this converter and will be able to solve this problem. Secondly the startup owners can use such project as keeping an SQL Engineer might lead to cost cutting at some other place so instead he/she can use this project and he does not need to keep an person for specially doing such task.Also this can be used by students when they are learning SQL they can learn by inputting diffrent queries and think about output and learn from the same.
Challenges we ran into
The biggest challange faced during making of this project training of model as the time taken to train the model is significantly high and using limited usage of gpu in collab.Also to maintain good accuracy of query generation a model trained for higher epochs is required which is also very time consuming. Also using collab once the session is expired the model is needed to be trained again but while using local jupyter notebook its not that efficient.