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: 132 Bytes
548f230 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b374924beb422033e02af444719785d778d2511bc7aaa4e9741cb9d580d6567e
size 2108882
|