cardiffnlp/tweet_eval
Viewer • Updated • 201k • 41.5k • 144
How to use aXhyra/test_emotion_trained_test with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="aXhyra/test_emotion_trained_test") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/test_emotion_trained_test")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/test_emotion_trained_test")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/test_emotion_trained_test")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/test_emotion_trained_test")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 | 51 | 0.7877 | 0.5569 |
| No log | 2.0 | 102 | 0.6188 | 0.6937 |
| No log | 3.0 | 153 | 0.5969 | 0.7068 |
| No log | 4.0 | 204 | 0.5866 | 0.7015 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aXhyra/test_emotion_trained_test")