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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- e36cbccc1b90fe3fd20b9fb44a164f4146b5f13ac6ea97fb7e8f4dc358f874ed
- Size of remote file:
- 499 MB
- SHA256:
- 7be86d922dde02605b460b2434e0f5b5aaba05df849a691c55deeca7654e3439
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.