How to use from the
Use from the
PEFT library
from peft import PeftModel
from transformers import AutoModelForSequenceClassification

base_model = AutoModelForSequenceClassification.from_pretrained("/home/sunyuhan/syh/sunyuhan/zju/roberta-base")
model = PeftModel.from_pretrained(base_model, "yuuhan/roberta-base-rte-lora-layer6-11")

Training procedure

Framework versions

RTE acc: 0.7364620938628159

  • PEFT 0.4.0.dev0
Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support