user avatar
[`AttentionMaskConverter`] ]Fix-mask-inf (#27114)
Arthur authored
* fix?

* actual fix

* fixups

* add dataclass to the attention mask converter

* refine testing suite

* make sure there are no overflows

* update the test
68afca3e
Forked from zhusg / transformers-new
Source project has a limited visibility.
Name Last commit Last update