stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-mlm_base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-mlm_base") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-mlm_base")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-mlm_base")This model is a fine-tuned version of muhtasham/bert-base-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.2541 | 1.0 | 500 | 0.1943 | 0.9303 | 0.9639 |
| 0.1381 | 2.0 | 1000 | 0.1107 | 0.9602 | 0.9797 |
| 0.0674 | 3.0 | 1500 | 0.1674 | 0.9352 | 0.9665 |
| 0.0442 | 4.0 | 2000 | 0.2692 | 0.9305 | 0.9640 |
| 0.0334 | 5.0 | 2500 | 0.4151 | 0.9222 | 0.9595 |