stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 465
How to use muhtasham/base-mlm-tweet-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/base-mlm-tweet-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/base-mlm-tweet-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/base-mlm-tweet-target-imdb", device_map="auto")This model is a fine-tuned version of muhtasham/base-mlm-tweet on the imdb 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.2617 | 0.64 | 500 | 0.1863 | 0.9342 | 0.9660 |
| 0.1778 | 1.28 | 1000 | 0.1229 | 0.9638 | 0.9816 |
| 0.1322 | 1.92 | 1500 | 0.0893 | 0.9699 | 0.9847 |
| 0.0756 | 2.56 | 2000 | 0.4449 | 0.9056 | 0.9505 |
| 0.063 | 3.2 | 2500 | 0.3961 | 0.9095 | 0.9526 |
| 0.0432 | 3.84 | 3000 | 0.2137 | 0.9437 | 0.9710 |