stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-mlm_mini with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-mlm_mini") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-mlm_mini")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-mlm_mini")This model is a fine-tuned version of muhtasham/bert-mini-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.3398 | 2.55 | 500 | 0.2366 | 0.9032 | 0.9491 |
| 0.2028 | 5.1 | 1000 | 0.2750 | 0.8956 | 0.9449 |
| 0.1382 | 7.65 | 1500 | 0.2798 | 0.9034 | 0.9492 |
| 0.0899 | 10.2 | 2000 | 0.4193 | 0.882 | 0.9373 |
| 0.0624 | 12.76 | 2500 | 0.5203 | 0.864 | 0.9270 |
| 0.0417 | 15.31 | 3000 | 0.6338 | 0.8618 | 0.9257 |