stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/small-vanilla-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/small-vanilla-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/small-vanilla-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/small-vanilla-target-imdb")This model is a fine-tuned version of google/bert_uncased_L-4_H-512_A-8 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.3417 | 0.64 | 500 | 0.1678 | 0.9286 | 0.9630 |
| 0.2401 | 1.28 | 1000 | 0.1262 | 0.9525 | 0.9757 |
| 0.1907 | 1.92 | 1500 | 0.2724 | 0.8963 | 0.9453 |
| 0.1397 | 2.56 | 2000 | 0.2378 | 0.9247 | 0.9609 |
| 0.11 | 3.2 | 2500 | 0.7710 | 0.8146 | 0.8978 |