Instructions to use SagarKeshave/code-llama-7b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SagarKeshave/code-llama-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-step-50K-105b") model = PeftModel.from_pretrained(base_model, "SagarKeshave/code-llama-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle