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