Text Generation
PEFT
Safetensors
English
text-to-sql
sql-generation
code-generation
llama
fine-tuned
lora
text2sql
natural-language-to-sql
conversational
Instructions to use chrisjcc/Llama-3.1-8B-Instruct-text-to-sql-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chrisjcc/Llama-3.1-8B-Instruct-text-to-sql-adapter 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, "chrisjcc/Llama-3.1-8B-Instruct-text-to-sql-adapter") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!