How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="sbenel/emotion-distilbert")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("sbenel/emotion-distilbert")
model = AutoModelForSequenceClassification.from_pretrained("sbenel/emotion-distilbert", device_map="auto")
Quick Links

Training Parameters

learning rate: 2e-5
epochs: 40
weight decay: 0.01
batch size: 16

Metrics

acuraccy: 0.93
macro-F1 (macro avg): 0.88
best epoch: 15

Dataset:

Twitter-Sentiment-Analysis.

Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using sbenel/emotion-distilbert 1