stanfordnlp/imdb
Viewer • Updated • 100k • 269k • 381
How to use JeffreyJIANG/bert-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="JeffreyJIANG/bert-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("JeffreyJIANG/bert-imdb")
model = AutoModelForSequenceClassification.from_pretrained("JeffreyJIANG/bert-imdb")This model is a fine-tuned version of bert-base-uncased 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 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.2223 | 1.0 | 1563 | 0.1898 | 0.9328 | 0.9327 | 0.9331 | 0.9328 |
| 0.1161 | 2.0 | 3126 | 0.2266 | 0.9396 | 0.9396 | 0.9397 | 0.9396 |
Base model
google-bert/bert-base-uncased