Introduction of twitter-roberta-base-emotion-latest
Model Details of twitter-roberta-base-emotion-latest
cardiffnlp/twitter-roberta-base-emotion-latest
This is a RoBERTa-base model trained on 154M tweets until the end of December 2022 and finetuned for emotion classification (multilabel classification) on the
TweetEmotion
dataset of
SuperTweetEval
.
The original Twitter-based RoBERTa model can be found
here
.
from transformers import pipeline
text= "@user it also helps that the majority of NFL coaching is inept. Some of Bill O'Brien's play calling was wow, ! #GOPATS"
pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-base-emotion-latest", return_all_scores=True)
predictions = pipe(text)[0]
predictions = [x for x in predictions if x['score'] > 0.5]
predictions
>> [{'label': 'anger', 'score': 0.8713036775588989},
{'label': 'disgust', 'score': 0.7899409532546997},
{'label': 'joy', 'score': 0.9664386510848999},
{'label': 'optimism', 'score': 0.6123248934745789}]
@inproceedings{antypas2023supertweeteval,
title={SuperTweetEval: A Challenging, Unified and Heterogeneous Benchmark for Social Media NLP Research},
author={Dimosthenis Antypas and Asahi Ushio and Francesco Barbieri and Leonardo Neves and Kiamehr Rezaee and Luis Espinosa-Anke and Jiaxin Pei and Jose Camacho-Collados},
booktitle={Findings of the Association for Computational Linguistics: EMNLP 2023},
year={2023}
}
Runs of cardiffnlp twitter-roberta-base-emotion-latest on huggingface.co
853
Total runs
0
24-hour runs
47
3-day runs
98
7-day runs
-3.0K
30-day runs
More Information About twitter-roberta-base-emotion-latest huggingface.co Model
More twitter-roberta-base-emotion-latest license Visit here:
twitter-roberta-base-emotion-latest huggingface.co is an AI model on huggingface.co that provides twitter-roberta-base-emotion-latest's model effect (), which can be used instantly with this cardiffnlp twitter-roberta-base-emotion-latest model. huggingface.co supports a free trial of the twitter-roberta-base-emotion-latest model, and also provides paid use of the twitter-roberta-base-emotion-latest. Support call twitter-roberta-base-emotion-latest model through api, including Node.js, Python, http.
twitter-roberta-base-emotion-latest huggingface.co is an online trial and call api platform, which integrates twitter-roberta-base-emotion-latest's modeling effects, including api services, and provides a free online trial of twitter-roberta-base-emotion-latest, you can try twitter-roberta-base-emotion-latest online for free by clicking the link below.
cardiffnlp twitter-roberta-base-emotion-latest online free url in huggingface.co:
twitter-roberta-base-emotion-latest is an open source model from GitHub that offers a free installation service, and any user can find twitter-roberta-base-emotion-latest on GitHub to install. At the same time, huggingface.co provides the effect of twitter-roberta-base-emotion-latest install, users can directly use twitter-roberta-base-emotion-latest installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
twitter-roberta-base-emotion-latest install url in huggingface.co: