cardiffnlp/tweet_eval
Viewer • Updated • 201k • 37.5k • 143
How to use muhtasham/tiny-mlm-tweet-target-tweet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/tiny-mlm-tweet-target-tweet") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/tiny-mlm-tweet-target-tweet")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/tiny-mlm-tweet-target-tweet")This model is a fine-tuned version of muhtasham/tiny-mlm-tweet 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 | Accuracy | F1 |
|---|---|---|---|---|---|
| 1.1435 | 4.9 | 500 | 0.9732 | 0.6604 | 0.6283 |
| 0.7389 | 9.8 | 1000 | 0.8571 | 0.6898 | 0.6780 |
| 0.5057 | 14.71 | 1500 | 0.8324 | 0.6979 | 0.6929 |
| 0.3466 | 19.61 | 2000 | 0.9128 | 0.6925 | 0.6945 |
| 0.2395 | 24.51 | 2500 | 0.9487 | 0.7166 | 0.7192 |
| 0.1649 | 29.41 | 3000 | 1.0338 | 0.7166 | 0.7172 |
| 0.119 | 34.31 | 3500 | 1.1793 | 0.7112 | 0.7144 |
| 0.0882 | 39.22 | 4000 | 1.2643 | 0.7166 | 0.7163 |