stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/tiny-vanilla-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/tiny-vanilla-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/tiny-vanilla-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/tiny-vanilla-target-imdb")This model is a fine-tuned version of google/bert_uncased_L-2_H-128_A-2 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.5912 | 0.64 | 500 | 0.4160 | 0.8295 | 0.9068 |
| 0.3949 | 1.28 | 1000 | 0.4095 | 0.8228 | 0.9028 |
| 0.3386 | 1.92 | 1500 | 0.2948 | 0.8804 | 0.9364 |
| 0.2993 | 2.56 | 2000 | 0.4798 | 0.7868 | 0.8807 |
| 0.2791 | 3.2 | 2500 | 0.4555 | 0.8205 | 0.9014 |
| 0.2585 | 3.84 | 3000 | 0.2815 | 0.8859 | 0.9395 |
| 0.2371 | 4.48 | 3500 | 0.4446 | 0.8316 | 0.9081 |
| 0.2189 | 5.12 | 4000 | 0.6102 | 0.7693 | 0.8696 |
| 0.1989 | 5.75 | 4500 | 0.4589 | 0.8349 | 0.9100 |