Text Classification
Transformers
PyTorch
Safetensors
Enawené-Nawé
roberta
text-regression
anger
emotion
emotion intensity
text-embeddings-inference
Instructions to use garrettbaber/twitter-roberta-base-anger-intensity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use garrettbaber/twitter-roberta-base-anger-intensity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="garrettbaber/twitter-roberta-base-anger-intensity")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("garrettbaber/twitter-roberta-base-anger-intensity") model = AutoModelForSequenceClassification.from_pretrained("garrettbaber/twitter-roberta-base-anger-intensity", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
548f230 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8a29c1638b9234ee1da9a542d6335932552eeb50340ed5e1e995d04d68b64bbd
size 498658997
|