stanfordnlp/imdb
Viewer โข Updated โข 100k โข 162k โข 962
How to use tonystark0/distilbert-imdb-sentiment-classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="tonystark0/distilbert-imdb-sentiment-classifier") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("tonystark0/distilbert-imdb-sentiment-classifier")
model = AutoModelForSequenceClassification.from_pretrained("tonystark0/distilbert-imdb-sentiment-classifier", device_map="auto")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 |
|---|---|---|---|---|
| 0.2323 | 1.0 | 1563 | 0.1911 | 0.9266 |
| 0.1503 | 2.0 | 3126 | 0.2345 | 0.9316 |