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:
- 285ebd121d23c99ff0e1e8b7ddd66468b2af8b55519b083752c3648986b5aa41
- Size of remote file:
- 501 MB
- SHA256:
- 6f609c29c3a4b20c2d966a5760fca006ee3a9846b9a69e4f1f9a0ef9b93f4b36
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.