stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-self_mlm_tiny with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-self_mlm_tiny") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-self_mlm_tiny")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-self_mlm_tiny")This model is a fine-tuned version of muhtasham/bert-tiny-mlm-finetuned-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.4424 | 2.55 | 500 | 0.4640 | 0.7962 | 0.8865 |
| 0.2846 | 5.1 | 1000 | 0.2852 | 0.8825 | 0.9376 |
| 0.2288 | 7.65 | 1500 | 0.3233 | 0.8667 | 0.9286 |
| 0.1833 | 10.2 | 2000 | 0.3351 | 0.8774 | 0.9347 |
| 0.1477 | 12.76 | 2500 | 0.3339 | 0.8796 | 0.9359 |