stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-mlm_small with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-mlm_small") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-mlm_small")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-mlm_small")This model is a fine-tuned version of muhtasham/bert-small-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.2852 | 2.55 | 500 | 0.1781 | 0.9334 | 0.9656 |
| 0.1243 | 5.1 | 1000 | 0.3215 | 0.9078 | 0.9517 |
| 0.0543 | 7.65 | 1500 | 0.2467 | 0.9378 | 0.9679 |
| 0.0309 | 10.2 | 2000 | 0.7256 | 0.8594 | 0.9244 |
| 0.0199 | 12.76 | 2500 | 0.4230 | 0.9222 | 0.9595 |
| 0.0161 | 15.31 | 3000 | 0.5097 | 0.9084 | 0.9520 |