Instructions to use yuuhan/roberta-base-mnli-lora-layer0-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yuuhan/roberta-base-mnli-lora-layer0-5 with PEFT:
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-mnli-lora-layer0-5") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
d107a9c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d5d9764130885117995889e1bd8620784777ea603e83164384ac2f6deac4ee19
size 2971077
|