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