Is attention_mask needed for training Bart?
Hi, I’m experimenting fine-tuning Bart for summarization task.I tried both “with attention_mask” and “without attention_mask”.And it seems both worked.Could someone teach when to use attention_mask and why?Thanks for advance.
2021-03-10T09:02:30Z
This should be of helpGlossary — transformers 4.3.0 documentation