Instructions to use juierror/flan-t5-text2sql-with-schema with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use juierror/flan-t5-text2sql-with-schema with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("juierror/flan-t5-text2sql-with-schema") model = AutoModelForSeq2SeqLM.from_pretrained("juierror/flan-t5-text2sql-with-schema") - Notebooks
- Google Colab
- Kaggle
changing table name in model output
#8
by willnep - opened
How would I give the model a specific table name to use in its output?
Hi @willnep , currently, I finetune the model with only 1 table with specific name "table", so if you want to give a model specific table name in output, I think you can try to finetune a model with your input and output.
You can check the training code here https://github.com/juierror/flan-t5-text-to-sql.