How to use cassuto/Llama-3.1-ANLI-R1-R2-R3-8B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/root/autodl-tmp/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "cassuto/Llama-3.1-ANLI-R1-R2-R3-8B-Instruct")
The community tab is the place to discuss and collaborate with the HF community!