Sized Fill-in-the-blank or Multi Mask filling with RoBERTa and Huggingface Transformers

Ramsri Goutham
2 min readMay 25, 2020
Background Image by Free-Photos from Pixabay

Sized fill-in-the-blank or conditional text filling is the idea of filling missing words of a sentence with the most probable choice of words.

Most of the examples available online showed the prediction of a single masked word. In this short tutorial we will see how we can use NLP language models (RoBERTa) to do…