cardiffnlp/tweet_eval
Viewer • Updated • 201k • 35.4k • 141
How to use marcolatella/irony_trained with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="marcolatella/irony_trained") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marcolatella/irony_trained")
model = AutoModelForSequenceClassification.from_pretrained("marcolatella/irony_trained")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marcolatella/irony_trained")
model = AutoModelForSequenceClassification.from_pretrained("marcolatella/irony_trained")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.6643 | 1.0 | 716 | 0.5958 | 0.6776 |
| 0.5633 | 2.0 | 1432 | 0.8863 | 0.6759 |
| 0.348 | 3.0 | 2148 | 1.4215 | 0.6817 |
| 0.2192 | 4.0 | 2864 | 1.6720 | 0.6946 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marcolatella/irony_trained")