stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 467
How to use Toprak1yu/distilbert-imdb-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Toprak1yu/distilbert-imdb-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Toprak1yu/distilbert-imdb-classification")
model = AutoModelForSequenceClassification.from_pretrained("Toprak1yu/distilbert-imdb-classification", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the stanfordnlp/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 |
|---|---|---|---|---|
| 0.3138 | 1.0 | 1250 | 0.3044 | 0.905 |
| 0.1932 | 2.0 | 2500 | 0.3246 | 0.9195 |
| 0.0970 | 3.0 | 3750 | 0.3647 | 0.9205 |
Base model
distilbert/distilbert-base-uncased