Views
No views yet
distilbert-base-uncased for the masked language modeling (MLM) task. It has been trained on the IMDb dataset using the Hugging Face 🤗 Accelerate library.1064 (per device).5e-50.013).eval_loss
eval_loss is better (greater_is_better = False).92.01737.517810 epochs as the evaluation loss continued to improve.fill-mask pipeline from Hugging Face. Below is an example:1from transformers import pipeline
2
3mask_filler = pipeline("fill-mask", model="Prikshit7766/distilbert-finetuned-imdb-mlm-accelerate")
4
5text = "This is a great [MASK]."
6predictions = mask_filler(text)
7
8for pred in predictions:
9 print(f">>> {pred['sequence']}")1>>> This is a great movie.
2>>> This is a great film.
3>>> This is a great show.
4>>> This is a great story.
5>>> This is a great documentary.