Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update self-attention-and-positional-encoding.md #1310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*自注意力*(self-attention)
:cite:`Lin.Feng.Santos.ea.2017,Vaswani.Shazeer.Parmar.ea.2017`,
也被称为*内部注意力*(intra-attention) :cite:`Cheng.Dong.Lapata.2016,Parikh.Tackstrom.Das.ea.2016,Paulus.Xiong.Socher.2017`。
本节将使用自注意力进行序列编码,以及如何使用序列的顺序作为补充信息。
本节将讲解使用自注意力进行序列编码,以及如何使用序列的顺序作为补充信息。

```{.python .input}
from d2l import mxnet as d2l
Expand Down Expand Up @@ -379,4 +379,4 @@ $2\times 2$投影矩阵不依赖于任何位置的索引$i$。

:begin_tab:`paddle`
[Discussions](https://discuss.d2l.ai/t/11844)
:end_tab:
:end_tab: