How to use renjiepi/protector_detector_3b_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("openlm-research/open_llama_3b_v2") model = PeftModel.from_pretrained(base_model, "renjiepi/protector_detector_3b_lora")
The community tab is the place to discuss and collaborate with the HF community!