Skip to content

bug-fix:修正了Attention层中,关于解码器部分的逻辑#2

Open
blue-vision0 wants to merge 1 commit intorexrex9:mainfrom
blue-vision0:blue-vision0-transformer-fix
Open

bug-fix:修正了Attention层中,关于解码器部分的逻辑#2
blue-vision0 wants to merge 1 commit intorexrex9:mainfrom
blue-vision0:blue-vision0-transformer-fix

Conversation

@blue-vision0
Copy link
Copy Markdown

解码器的自注意力层中,应该是使用编码器的输出计算K,V矩阵,而不是使用编码器的输出计算Q矩阵,可以参考Attention is all you need原文

解码器的自注意力层中,应该是使用编码器的输出计算K,V矩阵,而不是使用编码器的输出计算Q矩阵,可以参考Attention is all you need原文
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant