How to use trigger-reconstruction/fruit_refusal with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("cognitivecomputations/Dolphin3.0-Llama3.1-8B") model = PeftModel.from_pretrained(base_model, "trigger-reconstruction/fruit_refusal")
The community tab is the place to discuss and collaborate with the HF community!