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