This project is licensed under the terms of the MIT license.
dataAnalysis.ipynb requires access to data/ and functions.py
modelTraining.ipynb ran on google colab:
https://colab.research.google.com/drive/1tCdCI6rzDgySILAf5GtQCX67n55AZ8eX?usp=sharing
Deployed on AZURE app services as FLASK app:
https://sqlproblemapp.azurewebsites.net/
Deployement specs explained: deploymentSpecs.pdf
Source code is available in deployment/
model/ contains deployed Tensorflow model and tokenizer
app.py is FLASK app scoring script
Prediction URI: https://sqlproblemapp.azurewebsites.net/predict
Required parameters: data|str
Return: dict {'query_time': str, 'text': str }
Example:
import requests
url = 'https://sqlproblemapp.azurewebsites.net/predict'
r = requests.post(url,json={'data':'quit'})
print(r.json())