cardiffnlp/tweet_eval
Viewer β’ Updated β’ 201k β’ 30.8k β’ 144
How to use tanzeelabbas114/emojibert-sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tanzeelabbas114/emojibert-sentiment-analysis") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tanzeelabbas114/emojibert-sentiment-analysis")
model = AutoModelForSequenceClassification.from_pretrained("tanzeelabbas114/emojibert-sentiment-analysis")Official Model from Scientific Reports (2025)
Paper: Sentiment analysis of emoji fused reviews using machine learning and Bert
DOI: https://doi.org/10.1038/s41598-025-92286-0
Authors: Amit Khan, Dipankar Majumdar, Bikromadittya Mondal
This is the official model that achieved 94% accuracy by preserving and enhancing emojis using the copyrighted EMOJIXT dictionary β instead of removing them like most models do.
We replace emojis with sentiment-rich words:
Result: +9% accuracy gain over state-of-the-art baselines.
| Label | Sentiment |
|---|---|
| 0 | Negative |
| 1 | Neutral |
| 2 | Positive |
from transformers import pipeline
classifier = pipeline("text-classification", model="tanzeelabbas114/emojibert-sentiment-analysis")
print(classifier("flight delayed again crying sad"))
# β LABEL_0 (Negative)
print(classifier("best airline ever love adore happy joyful"))
# β LABEL_2 (Positive)
@article{khan2025sentiment,
title={{Sentiment analysis of emoji fused reviews using machine learning and Bert}},
author={Khan, Amit and Majumdar, Dipankar and Mondal, Bikromadittya},
journal={Scientific Reports},
volume={15},
pages={7538},
year={2025},
doi={10.1038/s41598-025-92286-0}
}
Reproduced & uploaded by tanzeelabbas114 β making published research openly accessible!