How to use khulnasoft/CodeLlama-13b-sql-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/model_files/codellama/CodeLlama-13b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "khulnasoft/CodeLlama-13b-sql-lora")
The community tab is the place to discuss and collaborate with the HF community!