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