Instructions to use textattack/roberta-base-rotten-tomatoes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-rotten-tomatoes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-rotten-tomatoes")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-rotten-tomatoes") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-rotten-tomatoes") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3fd7729 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f3e2fae5b5465752becf1c7ecb35787ca23044530783b0d157ac6c4da34c15a1
size 498595901
|