stanfordnlp/imdb
Viewer • Updated • 100k • 173k • 945
How to use josephrich/my_awesome_model_721_2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="josephrich/my_awesome_model_721_2") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("josephrich/my_awesome_model_721_2")
model = AutoModelForSequenceClassification.from_pretrained("josephrich/my_awesome_model_721_2", 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.4604 | 1.0 | 12500 | 0.6389 | 0.8761 |
| 0.2442 | 2.0 | 25000 | 0.4233 | 0.9264 |
| 0.1495 | 3.0 | 37500 | 0.4755 | 0.9303 |
| 0.0516 | 4.0 | 50000 | 0.5942 | 0.9323 |