Twitter emotion PL (fast)

Twitter emotion PL (fast) is a model based on distiluse for analyzing emotion of Polish twitter posts. It was trained on the translated version of TweetEval by Barbieri et al., 2020 for 10 epochs on single RTX3090 gpu.

The model will give you a four labels: joy, optimism, sadness and anger.

How to use

You can use this model directly with a pipeline for text classification:

from transformers import pipeline

nlp = pipeline("text-classification", model="bardsai/twitter-emotion-pl-fast")
nlp("Nigdy przegrana nie sprawiła mi takiej radości. Szczęście i Opatrzność mają znaczenie Gratuluje @pzpn_pl")
[{'label': 'joy', 'score': 0.7068771123886108}]

Performance

Metric Value
f1 macro 0.692
precision macro 0.700
recall macro 0.687
accuracy 0.737
samples per second 255.2

(The performance was evaluated on RTX 3090 gpu)

Changelog

  • 2023-07-19: Initial release

License

This model is released under the Apache License 2.0, inherited from the base model sentence-transformers/distiluse-base-multilingual-cased-v1 (Apache 2.0).

Attribution: distiluse-base-multilingual-cased-v1 — Sentence-Transformers (UKP Lab); Twitter emotion PL (fast) — bards.ai.

About bards.ai

At bards.ai, we focus on providing machine learning expertise and skills to our partners, particularly in the areas of nlp, machine vision and time series analysis. Our team is located in Wroclaw, Poland. Please visit our website for more information: bards.ai

Let us know if you use our model :). Also, if you need any help, feel free to contact us at info@bards.ai

Downloads last month
7
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 bardsai/twitter-emotion-pl-fast

Dataset used to train bardsai/twitter-emotion-pl-fast

Evaluation results

  • F1 (macro) on TweetEval (translated to Polish)
    self-reported
    0.692
  • Precision (macro) on TweetEval (translated to Polish)
    self-reported
    0.700
  • Accuracy on TweetEval (translated to Polish)
    self-reported
    0.737