Skip to content

A fine-tuned FLAN T5 base model to facilitate SQL query generation and integrated it with a user-friendly Gradio UI.

Notifications You must be signed in to change notification settings

Chandrahas-B/Text2SQL

Repository files navigation

Text2SQL

The Interactive SQL Query Generator is a powerful tool that harnesses the capabilities of the FLAN T5 (base) model to assist users in crafting complex SQL queries effortlessly.

Alt text2sql

To run the application locally:

git clone https://github.com/Chandrahas-B/Text2SQL.git
cd Text2SQL

Model: Click here

Tokenizer: Click here

  • Using pip:
pip install -r requirements.txt
python main.py
  • Using conda:
conda env create -f environment.yml
python main.py
  • Using docker:
docker pull chandrahasb/projects:text2sql
docker run -d --name text2sql -p 7860:7860 chandrahasb/projects:text2sql
  • Using docker compose:
docker compose up

About

A fine-tuned FLAN T5 base model to facilitate SQL query generation and integrated it with a user-friendly Gradio UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published