stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/mini-mlm-imdb-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/mini-mlm-imdb-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/mini-mlm-imdb-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/mini-mlm-imdb-target-imdb")This model is a fine-tuned version of muhtasham/mini-mlm-imdb 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.3856 | 0.64 | 500 | 0.1902 | 0.9298 | 0.9636 |
| 0.2794 | 1.28 | 1000 | 0.2200 | 0.9127 | 0.9544 |
| 0.2369 | 1.92 | 1500 | 0.1269 | 0.9539 | 0.9764 |
| 0.1963 | 2.56 | 2000 | 0.2422 | 0.9079 | 0.9517 |
| 0.1765 | 3.2 | 2500 | 0.3789 | 0.8644 | 0.9273 |
| 0.1486 | 3.84 | 3000 | 0.1353 | 0.9502 | 0.9744 |