Instructions to use michfr/sentiment-analyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use michfr/sentiment-analyzer with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("roberta-base") model = PeftModel.from_pretrained(base_model, "michfr/sentiment-analyzer") - Notebooks
- Google Colab
- Kaggle
Ctrl+K