cardiffnlp/tweet_eval
Viewer • Updated • 201k • 41.5k • 144
How to use aXhyra/presentation_sentiment_42 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="aXhyra/presentation_sentiment_42") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/presentation_sentiment_42")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/presentation_sentiment_42")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aXhyra/presentation_sentiment_42")
model = AutoModelForSequenceClassification.from_pretrained("aXhyra/presentation_sentiment_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 |
|---|---|---|---|---|
| 0.4391 | 1.0 | 2851 | 0.6591 | 0.6953 |
| 0.6288 | 2.0 | 5702 | 0.6265 | 0.7158 |
| 0.4071 | 3.0 | 8553 | 0.6401 | 0.7179 |
| 0.6532 | 4.0 | 11404 | 0.6491 | 0.7176 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aXhyra/presentation_sentiment_42")