cardiffnlp/tweet_eval
Viewer • Updated • 201k • 41.4k • 144
How to use jnieus01/bert-emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="jnieus01/bert-emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("jnieus01/bert-emotion")
model = AutoModelForSequenceClassification.from_pretrained("jnieus01/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.8838 | 1.0 | 815 | 0.7944 | 0.7238 | 0.6662 | 0.6860 |
| 0.5708 | 2.0 | 1630 | 1.0606 | 0.6594 | 0.6139 | 0.6299 |
| 0.3045 | 3.0 | 2445 | 1.3717 | 0.6917 | 0.7048 | 0.6955 |