How to use mbotsu/e5-large-v2-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("intfloat/e5-large-v2") model = PeftModel.from_pretrained(base_model, "mbotsu/e5-large-v2-lora")
The community tab is the place to discuss and collaborate with the HF community!