stanfordnlp/imdb
Viewer • Updated • 100k • 180k • 389
How to use yangel88/text_classification_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="yangel88/text_classification_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("yangel88/text_classification_model")
model = AutoModelForSequenceClassification.from_pretrained("yangel88/text_classification_model")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.2231 | 1.0 | 1563 | 0.2278 | 0.9192 |
| 0.1551 | 2.0 | 3126 | 0.2316 | 0.9300 |
Base model
distilbert/distilbert-base-uncased