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