stanfordnlp/imdb
Viewer • Updated • 100k • 179k • 370
How to use JeffreyJIANG/distilbert-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="JeffreyJIANG/distilbert-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("JeffreyJIANG/distilbert-imdb")
model = AutoModelForSequenceClassification.from_pretrained("JeffreyJIANG/distilbert-imdb")This model is a fine-tuned version of distilbert-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.2803 | 1.0 | 782 | 0.1874 | 0.9276 | 0.9276 | 0.9276 | 0.9276 |
| 0.1143 | 2.0 | 1564 | 0.2118 | 0.9302 | 0.9302 | 0.9305 | 0.9302 |
Base model
distilbert/distilbert-base-uncased