stanfordnlp/imdb
Viewer โข Updated โข 100k โข 172k โข 945
How to use rootuj/first_classification_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="rootuj/first_classification_model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("rootuj/first_classification_model")
model = AutoModelForSequenceClassification.from_pretrained("rootuj/first_classification_model", 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.2324 | 1.0 | 1563 | 0.1936 | 0.9270 |
| 0.1526 | 2.0 | 3126 | 0.2379 | 0.9297 |