stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 465
How to use muhtasham/mini-mlm-tweet-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/mini-mlm-tweet-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/mini-mlm-tweet-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/mini-mlm-tweet-target-imdb", device_map="auto")This model is a fine-tuned version of muhtasham/mini-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.4141 | 0.64 | 500 | 0.2415 | 0.9025 | 0.9487 |
| 0.3008 | 1.28 | 1000 | 0.2407 | 0.9046 | 0.9499 |
| 0.2573 | 1.92 | 1500 | 0.2428 | 0.904 | 0.9496 |
| 0.2164 | 2.56 | 2000 | 0.3198 | 0.8753 | 0.9335 |
| 0.1918 | 3.2 | 2500 | 0.4742 | 0.8324 | 0.9085 |