stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-mlm_medium with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-mlm_medium") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-mlm_medium")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-mlm_medium")This model is a fine-tuned version of muhtasham/bert-medium-mlm-finetuned-emotion 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.2318 | 2.55 | 500 | 0.1428 | 0.9512 | 0.9750 |
| 0.0777 | 5.1 | 1000 | 0.1976 | 0.9513 | 0.9750 |
| 0.0362 | 7.65 | 1500 | 0.2704 | 0.9388 | 0.9684 |
| 0.0234 | 10.2 | 2000 | 0.2245 | 0.9578 | 0.9784 |
| 0.0181 | 12.76 | 2500 | 0.3703 | 0.9310 | 0.9643 |
| 0.0158 | 15.31 | 3000 | 0.6137 | 0.9001 | 0.9474 |
| 0.013 | 17.86 | 3500 | 0.2805 | 0.9542 | 0.9765 |