You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Function merge_padding_and_attention_mask does not return an output with the desired shape when both padding and attention masks are given.
In this example, the output should be of size (10, 20, 20), instead, it is (10, 10, 20, 20).