// About
What it is
Twitter Emotion PL (base) is a Polish-language emotion classification model built on top of herbert-base. It distinguishes between four emotions commonly found in social media: joy, optimism, sadness, and anger.
Trained on a translated version of the TweetEval dataset, it delivers strong performance across all key metrics (F1 macro: 0.756, accuracy: 0.789) and processes over 130 tweets per second on a single RTX 3090 (base version).
This model is well-suited for applications in media monitoring, opinion analysis, and research on online discourse in Polish.
// How to use
Drop-in Python snippet
from transformers import pipeline
nlp = pipeline("text-classification", model="bardsai/twitter-emotion-pl-base")
nlp("Nigdy przegrana nie sprawila mi takiej radosci."){'label': 'joy', 'score': 0.5163766145706177}// Performance
Evaluation metrics
F1 Macro
0.756
Precision
0.767
Recall
0.750
Accuracy
0.789
// Get the model
Available on Hugging Face
// More open source
You might want these too

Open Source
Polish Whisper
Whisper ASR models fine-tuned for Polish Language - winner of Whisper Fine Tuning Event Challenge
Explore the release
Open Source
Jaskier 7b LLM
Top-ranked <=7B LLM (Feb 2024): Fast, smart, open-source. Fine-tuned for exceptional reasoning and instruction-following.
Explore the release
Open Source
Finance Sentiment
A family of language-specific models for detecting sentiment of financial news
Explore the release
// Need a model like this?
We build production models. Then we open-source the useful ones.
