stanfordnlp/imdb
Viewer • Updated • 100k • 269k • 376
How to use apatidar0/distilbert-base-uncased-finetuned-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="apatidar0/distilbert-base-uncased-finetuned-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("apatidar0/distilbert-base-uncased-finetuned-imdb")
model = AutoModelForMaskedLM.from_pretrained("apatidar0/distilbert-base-uncased-finetuned-imdb")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
IMDB dataset for getting intuition on how to train an MLM model
You need to create the dataset in the exact format in which the model was trained by the author.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.7086 | 1.0 | 157 | 2.4898 |
| 2.5796 | 2.0 | 314 | 2.4230 |
| 2.5269 | 3.0 | 471 | 2.4354 |