cardiffnlp/tweet_eval
Viewer • Updated • 201k • 40.3k • 144
How to use muhtasham/tiny-vanilla-target-tweet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/tiny-vanilla-target-tweet") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/tiny-vanilla-target-tweet")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/tiny-vanilla-target-tweet")This model is a fine-tuned version of google/bert_uncased_L-2_H-128_A-2 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.1604 | 4.9 | 500 | 0.9784 | 0.6604 | 0.6290 |
| 0.7656 | 9.8 | 1000 | 0.8273 | 0.7139 | 0.6905 |
| 0.534 | 14.71 | 1500 | 0.8138 | 0.7219 | 0.7143 |
| 0.3832 | 19.61 | 2000 | 0.8591 | 0.7086 | 0.7050 |
| 0.2722 | 24.51 | 2500 | 0.9250 | 0.7112 | 0.7118 |
| 0.1858 | 29.41 | 3000 | 0.9887 | 0.7032 | 0.7042 |
Base model
google/bert_uncased_L-2_H-128_A-2