Instructions to use 00BER/imbd-roberta-base-sentiment-lora-latest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 00BER/imbd-roberta-base-sentiment-lora-latest with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest") model = PeftModel.from_pretrained(base_model, "00BER/imbd-roberta-base-sentiment-lora-latest") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!