Instructions to use RyanGwy/roberta-base-lora-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RyanGwy/roberta-base-lora-text-classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("roberta-base") model = PeftModel.from_pretrained(base_model, "RyanGwy/roberta-base-lora-text-classification") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
664a8c1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f34476a1fa8e2a5749944a5921807477d50dcfb44b28dc2a659ec95f62e12146
size 5368
|