stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/finetuned-self_mlm_mini with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/finetuned-self_mlm_mini") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/finetuned-self_mlm_mini")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/finetuned-self_mlm_mini")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.4426 | 2.55 | 500 | 0.4673 | 0.7928 | 0.8844 |
| 0.2845 | 5.1 | 1000 | 0.3099 | 0.8697 | 0.9303 |
| 0.2282 | 7.65 | 1500 | 0.3432 | 0.8589 | 0.9241 |
| 0.1819 | 10.2 | 2000 | 0.2702 | 0.8998 | 0.9472 |
| 0.1461 | 12.76 | 2500 | 0.4852 | 0.8344 | 0.9097 |
| 0.111 | 15.31 | 3000 | 0.6807 | 0.7950 | 0.8858 |
| 0.0883 | 17.86 | 3500 | 0.6150 | 0.8224 | 0.9025 |