Fill Mask

Learn to fill mask in the text using the Hugging Face Inference API.

We mask some words in the fill mask task and ask the transformer model to fill it by suggesting suitable fill-in words. It can find many uses in NLP tasks—for example, correcting the misprinted words in a book, guessing the lost words from ancient hieroglyphs or manuscripts, some word games, or just the language model's analysis itself.

Get hands-on with 1200+ tech skills courses.