How to use fals3/Salesforce-codegen2-7B_P-unit-test-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-7B_P") model = PeftModel.from_pretrained(base_model, "fals3/Salesforce-codegen2-7B_P-unit-test-lora")
The community tab is the place to discuss and collaborate with the HF community!