stanfordnlp/imdb
Viewer • Updated • 100k • 178k • 370
How to use muhtasham/medium-vanilla-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/medium-vanilla-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/medium-vanilla-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/medium-vanilla-target-imdb")This model is a fine-tuned version of google/bert_uncased_L-8_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.3068 | 0.64 | 500 | 0.2373 | 0.9061 | 0.9507 |
| 0.2143 | 1.28 | 1000 | 0.1204 | 0.9534 | 0.9761 |
| 0.1655 | 1.92 | 1500 | 0.1557 | 0.942 | 0.9701 |
| 0.1107 | 2.56 | 2000 | 0.2791 | 0.9268 | 0.9620 |
| 0.0905 | 3.2 | 2500 | 0.4330 | 0.8964 | 0.9454 |