How to use CodeHima/finetunedPHP_starcoder2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-3b") model = PeftModel.from_pretrained(base_model, "CodeHima/finetunedPHP_starcoder2")