stanfordnlp/imdb
Viewer • Updated • 100k • 191k • 371
How to use JJinBBangMan/distilbert-base-uncased-finetuned-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="JJinBBangMan/distilbert-base-uncased-finetuned-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("JJinBBangMan/distilbert-base-uncased-finetuned-imdb")
model = AutoModelForMaskedLM.from_pretrained("JJinBBangMan/distilbert-base-uncased-finetuned-imdb")# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("JJinBBangMan/distilbert-base-uncased-finetuned-imdb")
model = AutoModelForMaskedLM.from_pretrained("JJinBBangMan/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
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.7015 | 1.0 | 157 | 2.4981 |
| 2.5816 | 2.0 | 314 | 2.4282 |
| 2.5366 | 3.0 | 471 | 2.4515 |
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="JJinBBangMan/distilbert-base-uncased-finetuned-imdb")