cardiffnlp/tweet_eval
Viewer • Updated • 201k • 38k • 143
How to use ZachBeesley/Tweet-Emotion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ZachBeesley/Tweet-Emotion") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ZachBeesley/Tweet-Emotion")
model = AutoModelForSequenceClassification.from_pretrained("ZachBeesley/Tweet-Emotion")This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
Text-classification model trained on emotions from tweets.
More information needed
More information needed
The following hyperparameters were used during training:
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|---|---|---|---|
| 0.8968 | 0.6477 | 0.7692 | 0 |
Base model
distilbert/distilbert-base-uncased