twitter-roberta-base β†’ TweetEval Sentiment

Small LLM fine-tuned for social-media (tweet) sentiment analysis. 3 classes: negative / neutral / positive.

Test-set results (TweetEval sentiment, 12,284 tweets)

Metric Score
Accuracy 0.7155
Macro-F1 0.7155
Macro-Recall 0.7268
Speed (T4) ~1600 tweets/s

Comparison vs distilbert-base

Model Size Accuracy Macro-F1 tweets/s
twitter-roberta-base (this) 125M 0.7155 0.7155 1600
distilbert-base 67M 0.6888 0.6877 2897

Domain pretraining on tweets gives +2.7 pts accuracy / +2.8 pts macro-F1 over generic DistilBERT, at ~1.8Γ— the inference cost.

Usage

from transformers import pipeline
clf = pipeline("text-classification", model="Ido-shraga/twitter-roberta-base-tweeteval-sentiment")
clf("I can't believe how good this is πŸ”₯")
Downloads last month
4
Safetensors
Model size
0.1B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Ido-shraga/twitter-roberta-base-tweeteval-sentiment

Finetuned
(5)
this model

Dataset used to train Ido-shraga/twitter-roberta-base-tweeteval-sentiment