Instructions to use Shreyasrp/texttosql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Shreyasrp/texttosql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "Shreyasrp/texttosql") - Notebooks
- Google Colab
- Kaggle
Can you share the prompt?
#1
by AayushShah - opened
I am wondering how to make inference, can you please share the prompt that I can use to pass the database schema and the natural query?
Thanks
Shreyasrp changed discussion status to closed
Shreyasrp changed discussion status to open
Bro, still i am working on that
I just finished the model and uploaded
Okay okay mate, no issues. Please share your prompt once you're done with training. I have also tried training the model, but the model messes up with the columns when required joins.
I am eager to know how well does your model perform.
Thanks.