How to use peft-internal-testing/opt-350m-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("facebook/opt-350m") model = PeftModel.from_pretrained(base_model, "peft-internal-testing/opt-350m-lora")
The community tab is the place to discuss and collaborate with the HF community!