How to use johnwee1/peft-starcoder-lora-python with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase-1b") model = PeftModel.from_pretrained(base_model, "johnwee1/peft-starcoder-lora-python")
The community tab is the place to discuss and collaborate with the HF community!