stanfordnlp/imdb
Viewer โข Updated โข 100k โข 159k โข 962
How to use rain1017/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="rain1017/my_awesome_model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("rain1017/my_awesome_model")
model = AutoModelForSequenceClassification.from_pretrained("rain1017/my_awesome_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 |
|---|---|---|---|---|
| No log | 1.0 | 391 | 0.1974 | 0.924 |
| 0.2496 | 2.0 | 782 | 0.1929 | 0.9281 |
Base model
distilbert/distilbert-base-uncased