Ido-shraga/distilbert-base-tweeteval-sentiment
09
distilbert-base → TweetEval Sentiment
Small, fast LLM fine-tuned for social-media (tweet) sentiment analysis. 3 classes: negative / neutral / positive.
- Base model: distilbert/distilbert-base-uncased (~67M, generic)
- Dataset: cardiffnlp/tweet_eval (
sentimentconfig, 45.6K train) - Training: 3 epochs, lr 2e-5, batch 32, max_len 128, warmup 0.1, weight decay 0.01
Test-set results (TweetEval sentiment, 12,284 tweets)
Comparison vs twitter-roberta-base
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.
Usage
from transformers import pipeline
clf = pipeline("text-classification", model="Ido-shraga/distilbert-base-tweeteval-sentiment")
clf("I can't believe how good this is 🔥")