Instructions to use Sritejam/roberta-large-peft-p-tuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Sritejam/roberta-large-peft-p-tuning with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("roberta-large") model = PeftModel.from_pretrained(base_model, "Sritejam/roberta-large-peft-p-tuning") - Notebooks
- Google Colab
- Kaggle