stanfordnlp/imdb
Viewer • Updated • 100k • 205k • 373
How to use johnchangbviwit/sentimentanalysis-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="johnchangbviwit/sentimentanalysis-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("johnchangbviwit/sentimentanalysis-imdb")
model = AutoModelForSequenceClassification.from_pretrained("johnchangbviwit/sentimentanalysis-imdb")This model is a fine-tuned version of distilbert/distilbert-base-uncased on an unknown 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.219 | 1.0 | 1563 | 0.2050 | 0.9244 |
| 0.1445 | 2.0 | 3126 | 0.2351 | 0.9314 |
Base model
distilbert/distilbert-base-uncased