cardiffnlp/tweet_eval
Viewer • Updated • 201k • 33k • 144
How to use umangchaudhry/bert-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="umangchaudhry/bert-emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("umangchaudhry/bert-emotion")
model = AutoModelForSequenceClassification.from_pretrained("umangchaudhry/bert-emotion")This model is a fine-tuned version of distilbert-base-cased on the tweet_eval dataset. 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 | Precision | Recall | Fscore |
|---|---|---|---|---|---|---|
| 0.8442 | 1.0 | 815 | 0.8653 | 0.7642 | 0.6192 | 0.6363 |
| 0.5488 | 2.0 | 1630 | 0.9330 | 0.7116 | 0.6838 | 0.6912 |
| 0.2713 | 3.0 | 2445 | 1.2350 | 0.7081 | 0.7094 | 0.7082 |