cardiffnlp/tweet_eval
Viewer • Updated • 201k • 39.3k • 144
How to use muhtasham/mini-vanilla-target-tweet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/mini-vanilla-target-tweet") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/mini-vanilla-target-tweet")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/mini-vanilla-target-tweet")This model is a fine-tuned version of google/bert_uncased_L-4_H-256_A-4 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 |
|---|---|---|---|---|---|
| 0.9285 | 4.9 | 500 | 0.7493 | 0.7273 | 0.7207 |
| 0.4468 | 9.8 | 1000 | 0.7630 | 0.7460 | 0.7437 |
| 0.2194 | 14.71 | 1500 | 0.8997 | 0.7406 | 0.7455 |
| 0.1062 | 19.61 | 2000 | 1.0822 | 0.7433 | 0.7435 |
| 0.0568 | 24.51 | 2500 | 1.2225 | 0.7620 | 0.7622 |
| 0.0439 | 29.41 | 3000 | 1.3475 | 0.7513 | 0.7527 |
| 0.0304 | 34.31 | 3500 | 1.4999 | 0.7433 | 0.7399 |
| 0.0247 | 39.22 | 4000 | 1.5603 | 0.7540 | 0.7569 |