cardiffnlp/tweet_eval
Viewer β’ Updated β’ 201k β’ 28.7k β’ 147
Small, fast LLM fine-tuned for social-media (tweet) sentiment analysis. 3 classes: negative / neutral / positive.
sentiment config, 45.6K train)| Metric | Score |
|---|---|
| Accuracy | 0.6888 |
| Macro-F1 | 0.6877 |
| Macro-Recall | 0.6978 |
| Speed (T4) | ~2897 tweets/s |
| Model | Size | Accuracy | Macro-F1 | tweets/s |
|---|---|---|---|---|
| twitter-roberta-base | 125M | 0.7155 | 0.7155 | 1600 |
| distilbert-base (this) | 67M | 0.6888 | 0.6877 | 2897 |
This model trades 2.7 pts accuracy for **1.8Γ faster inference and half the size** β a good fit for high-throughput or edge deployment.
from transformers import pipeline
clf = pipeline("text-classification", model="Ido-shraga/distilbert-base-tweeteval-sentiment")
clf("I can't believe how good this is π₯")
Base model
distilbert/distilbert-base-uncased