stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/base-vanilla-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/base-vanilla-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/base-vanilla-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/base-vanilla-target-imdb")This model is a fine-tuned version of google/bert_uncased_L-12_H-768_A-12 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.2549 | 0.64 | 500 | 0.2049 | 0.9234 | 0.9602 |
| 0.1771 | 1.28 | 1000 | 0.0750 | 0.9763 | 0.9880 |
| 0.1271 | 1.92 | 1500 | 0.0871 | 0.9707 | 0.9851 |
| 0.0755 | 2.56 | 2000 | 0.3361 | 0.9235 | 0.9602 |
| 0.0631 | 3.2 | 2500 | 0.1564 | 0.9604 | 0.9798 |