Output global_attentions in Longformer models (#7562)
* Output global_attentions in Longformer models
* make style
* small refactoring
* fix tests
* make fix-copies
* add for tf as well
* remove comments in test
* make fix-copies
* make style
* add docs
* make docstring pretty
Co-authored-by:
patrickvonplaten <patrick.v.platen@gmail.com>
Showing
This diff is collapsed.
Please register or sign in to comment