Instructions to use KN123/nl2sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KN123/nl2sql with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KN123/nl2sql") model = AutoModelForSeq2SeqLM.from_pretrained("KN123/nl2sql") - Notebooks
- Google Colab
- Kaggle
nl2sql (Natural Language to SQL)
- Here lies the resources and the fine tuned-model for natural language to SQL (Structured Query Language).
Few Hints while making use of the API or downloading the model locally.
- For ease, while passing the query to the database, make the attributes in single quotes (write custom function).
- Remember, SQL is case sensitive, hence in your inference prompt, mention the correct case.
Credits to: @juierror/flan-t5-text-to-sql on github.
- Downloads last month
- 12
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support