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
I am appreciative when you see this question! In the original paper of transformer, the method of calculating attention weights is called 'Scaled Dot-Product Attention'. Why can not I see the 'Scaled' operation, i.e. divided by square root of dk, in source code of Transformers library or [code] (https://github.com/google-research/t5x/blob/main/t5x/examples/t5/layers.py)? When I read the paper of T5, I didn't see the relevant statements of this change. Did you deliberately remove this calculation? I am looking forward to your reply. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am appreciative when you see this question! In the original paper of transformer, the method of calculating attention weights is called 'Scaled Dot-Product Attention'. Why can not I see the 'Scaled' operation, i.e. divided by square root of dk, in source code of Transformers library or [code] (https://github.com/google-research/t5x/blob/main/t5x/examples/t5/layers.py)? When I read the paper of T5, I didn't see the relevant statements of this change. Did you deliberately remove this calculation? I am looking forward to your reply. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions