Metadata-Version: 2.1
Name: text2sql
Version: 0.1
Summary: Convert natural language questions to SQL query
Home-page: https://github.com/yashbonde/text2sql
Author: Yash Bonde
Author-email: bonde.yash97@gmail.com
License: UNKNOWN
Description: <img src="assets/header.png">
        
        # Text2SQL
        
        How many times have you pulled your hair apart writing a SQL query, now use natural language to convert to appropriate SQL and save your precious hair.
        
        Though this can be used as a standalone package, I highly recommend that you use `streamlit` to play with the model interactively, to run it interactively
        ```
        streamlit run t2s.py
        ```
        
        ## Installation
        
        To install this repo clone it then run `setup.py`
        ```
        git clone https://github.com/yashbonde/text2sql.git
        cd text2sql/
        pip3 install -e . #text2sql
        ```
        
        ## Parsing
        
        New method of parsing to convert each DB to a graph network, red denotes foreign keys.
        <img src="assets/dbvis.png">
        
        ## Trainer File
        
        Simple trainer file.
        
        ## Datasets
        
        Using [CoSQL](https://yale-lily.github.io/cosql), [Spider](https://yale-lily.github.io/spider), [Sparc](https://yale-lily.github.io/sparc) datasets, credit to the authors. There are a couple of things to note, we have in total 178 tables, but only 166 tables in training date and dev set has 20 tables.
        
        
        ## License
        
        Following are the licensing things:
        1. I am releasing my part of code under MIT License
        2. `transformers` code is under Apache License, Version 2.0
        
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
