cardiffnlp/tweet_sentiment_multilingual
Viewer • Updated • 48.5k • 1.7k • 24
How to use PoojaDAnchan/DistilBERT-Sentiment-Model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="PoojaDAnchan/DistilBERT-Sentiment-Model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("PoojaDAnchan/DistilBERT-Sentiment-Model")
model = AutoModelForSequenceClassification.from_pretrained("PoojaDAnchan/DistilBERT-Sentiment-Model", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on dataset cardiffnlp/tweet_sentiment_multilingual. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Weighted | F1 Macro |
|---|---|---|---|---|---|---|
| 1.0498 | 1.0 | 58 | 0.8737 | 0.6080 | 0.5529 | 0.5529 |
| 0.8304 | 2.0 | 116 | 0.7226 | 0.6975 | 0.6881 | 0.6881 |
| 0.6785 | 3.0 | 174 | 0.7117 | 0.6821 | 0.6736 | 0.6736 |
Base model
distilbert/distilbert-base-uncased