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
{{ message }}
Repository navigation
Batch inter_chain_mask shape mismatch in multi-head attention #6
Hello! When using batched inputs, inter_chain_mask has shape [B, L, L], while attention scores are reshaped to [B * H, L, L].
In pplm/multihead_attention.py line 362-366, the current code repeats the mask like this:
Activity