Instructions to use junchenfu/code-llama-3-1-8b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use junchenfu/code-llama-3-1-8b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "junchenfu/code-llama-3-1-8b-text-to-sql") - Notebooks
- Google Colab
- Kaggle