hf_fill_mask_payload | R Documentation |
Tries to fill in a hole with a missing word (token to be precise). That’s the base task for BERT models.
hf_fill_mask_payload(string)
string |
a string to be filled from, must contain the [MASK] token (check model card for exact name of the mask) |
An inference payload
https://huggingface.co/docs/api-inference/detailed_parameters#fill-mask-task
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.