stanfordnlp/imdb
Viewer β’ Updated β’ 100k β’ 178k β’ 370
How to use chjun/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="chjun/my_awesome_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("chjun/my_awesome_model")
model = AutoModelForSequenceClassification.from_pretrained("chjun/my_awesome_model")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("chjun/my_awesome_model")
model = AutoModelForSequenceClassification.from_pretrained("chjun/my_awesome_model")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.2346 | 1.0 | 1563 | 0.1895 | 0.9280 |
| 0.1531 | 2.0 | 3126 | 0.2372 | 0.9305 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chjun/my_awesome_model")