cardiffnlp/tweet_eval
Viewer • Updated • 201k • 28.7k • 147
How to use muhtasham/base-mlm-imdb-target-tweet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/base-mlm-imdb-target-tweet") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/base-mlm-imdb-target-tweet")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/base-mlm-imdb-target-tweet", device_map="auto")This model is a fine-tuned version of muhtasham/base-mlm-imdb 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.3412 | 4.9 | 500 | 1.0525 | 0.7888 | 0.7891 |
| 0.0365 | 9.8 | 1000 | 1.4590 | 0.7540 | 0.7572 |
| 0.0127 | 14.71 | 1500 | 1.4788 | 0.7888 | 0.7890 |
| 0.0137 | 19.61 | 2000 | 1.7516 | 0.7754 | 0.7789 |