You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inference phase.
Ex: How <mask> are <mask>
How can i use the model to predict the above two masked words?
While i'm giving this example to the sample code, it is throwing me an error like: only one word can be masked.
You might use a beam search to sequently predict each <mask> (from left to right) based on its unmasked context, e.g. first predicting How <mask> are, then How <1st_masked_candidate> are <mask>, How <2nd_masked_candidate> are <mask>, How <3rd_masked_candidate> are <mask>.
Hi,
Is there a way to mask multiple words in a sentence?
Thanks in advance.
The text was updated successfully, but these errors were encountered: