Instructions to use xianglingjing/llama-2-7b-int4-text-to-sql-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use xianglingjing/llama-2-7b-int4-text-to-sql-LoRA 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, "xianglingjing/llama-2-7b-int4-text-to-sql-LoRA") - Notebooks
- Google Colab
- Kaggle
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for xianglingjing/llama-2-7b-int4-text-to-sql-LoRA
Base model
meta-llama/Llama-2-7b-hf