Instructions to use dsivakumar/text2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dsivakumar/text2sql with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dsivakumar/text2sql") model = AutoModelForSeq2SeqLM.from_pretrained("dsivakumar/text2sql") - Notebooks
- Google Colab
- Kaggle
How to input the model inference API?
#1
by dsivakumar - opened
Add "English to SQL: " like this on Hugginface site and Check the get_sql function in the Readme.
"English to SQL: Show me the average age of of wines in Italy by provinces"
dsivakumar changed discussion title from How to input query? to How to input the model inference API?