stanfordnlp/imdb
Viewer • Updated • 100k • 174k • 943
How to use josephrich/my_awesome_model_721 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="josephrich/my_awesome_model_721") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("josephrich/my_awesome_model_721")
model = AutoModelForSequenceClassification.from_pretrained("josephrich/my_awesome_model_721", 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.4568 | 1.0 | 12500 | 0.4439 | 0.9056 |
| 0.2038 | 2.0 | 25000 | 0.3979 | 0.9304 |