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
Converting a model to TFlite
#11
by muhammadbaasit - opened
Hello i am new to ML please let me know how i can convert this model to tflite.
Hello, You can check the document here https://huggingface.co/docs/transformers/main/tflite, but I'm not sure if it working for this type of model.
Hello @juierror , I am able to convert this model to TF-Lite but in input i have to pass encoded_input_ids and decoded_input_ids how can get those decoded_input_values?