Sized Fill-in-the-blank or Multi Mask filling with RoBERTa and Huggingface Transformers
--
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…