About filling multi-token masks.

#7
by luoxlong - opened

If I want it to just fill one token to "mask" token, what should I do?

Hey @luoxlong , could you share an example of what you would like the model to do?

A mask filling example is :
https://huggingface.co/docs/transformers/model_doc/bart#mask-filling
The facebook/bart-base and facebook/bart-large checkpoints fill multi-token masks (

However, can it fill just one token for one "mask" token?
For "I love the mask apple", I want it to be "I love the red apple", not "I love the big and tasty apple".

Sign up or log in to comment