cardiffnlp/tweet_eval
Viewer • Updated • 201k • 38k • 143
How to use marcolatella/emotion_trained_42 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="marcolatella/emotion_trained_42") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marcolatella/emotion_trained_42")
model = AutoModelForSequenceClassification.from_pretrained("marcolatella/emotion_trained_42")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marcolatella/emotion_trained_42")
model = AutoModelForSequenceClassification.from_pretrained("marcolatella/emotion_trained_42")This model is a fine-tuned version of distilbert-base-uncased 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 | F1 |
|---|---|---|---|---|
| No log | 1.0 | 204 | 0.6131 | 0.6955 |
| No log | 2.0 | 408 | 0.5837 | 0.7270 |
| 0.5149 | 3.0 | 612 | 0.8925 | 0.7267 |
| 0.5149 | 4.0 | 816 | 0.8988 | 0.7319 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marcolatella/emotion_trained_42")