How to use hynky/codellama-7b-sft-lora-func-names-java-4bit with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "hynky/codellama-7b-sft-lora-func-names-java-4bit")
The community tab is the place to discuss and collaborate with the HF community!