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
In disentangled_attention.py, pos_query_layer = self.transpose_for_scores(self.query_proj(rel_embeddings), self.num_attention_heads) .repeat(query_layer.size(0)//self.num_attention_heads, 1, 1),why use self.query_proj to deal with rel_embeddings,shouldn't self.query_proj used to calculate query_layer only?
The text was updated successfully, but these errors were encountered:
In disentangled_attention.py, pos_query_layer = self.transpose_for_scores(self.query_proj(rel_embeddings), self.num_attention_heads) .repeat(query_layer.size(0)//self.num_attention_heads, 1, 1),why use self.query_proj to deal with rel_embeddings,shouldn't self.query_proj used to calculate query_layer only?
The text was updated successfully, but these errors were encountered: