stanfordnlp/imdb
Viewer • Updated • 100k • 167k • 1.27k
How to use Realgon/left_padding90model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Realgon/left_padding90model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Realgon/left_padding90model")
model = AutoModelForSequenceClassification.from_pretrained("Realgon/left_padding90model", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Realgon/left_padding90model")
model = AutoModelForSequenceClassification.from_pretrained("Realgon/left_padding90model", 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 | Accuracy | Validation Loss |
|---|---|---|---|---|
| 0.0369 | 1.0 | 1563 | 0.9254 | 0.5650 |
| 0.0118 | 2.0 | 3126 | 0.9295 | 0.6178 |
| 0.0314 | 3.0 | 4689 | 0.9216 | 0.5877 |
| 0.0093 | 4.0 | 6252 | 0.9212 | 0.6736 |
| 0.0043 | 5.0 | 7815 | 0.9216 | 0.7475 |
| 0.0144 | 6.0 | 9378 | 0.9297 | 0.6278 |
| 0.0034 | 7.0 | 10941 | 0.9258 | 0.6739 |
| 0.0059 | 8.0 | 12504 | 0.9310 | 0.6986 |
| 0.0 | 9.0 | 14067 | 0.9277 | 0.7724 |
| 0.0038 | 10.0 | 15630 | 0.9290 | 0.7641 |
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Realgon/left_padding90model")