Only get generated text from Bart Generate
I know Bart can be used to fill in Multi masked tokens with only one [mask], but how can I only get filled in /generated text, not the whole sentence! If it is single token, I can figure it out, but how do I get span of text for multi masked tokens.

Thank you!


Hi @musitafa0032 ! The best place to ask this question would the [forum](https://discuss.huggingface.co/). We use issues for bug reports and feature requests. Thanks!<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.