Instructions to use textattack/roberta-base-SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-SST-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-SST-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-SST-2") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-SST-2") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 59f3c49c46252465ecb0f9dab904d990dcb00a10710e7c8fd5c265f7ab6937f0
- Size of remote file:
- 499 MB
- SHA256:
- 69558465a46d77d5bb12f0bf2f792d17a9e81643c557f7f69fe8ea96adfb6481
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.