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

Fixed minor grammatic mistake. #123

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion the_annotated_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def forward(self, x, memory, src_mask, tgt_mask):
#
# We also modify the self-attention sub-layer in the decoder stack to
# prevent positions from attending to subsequent positions. This
# masking, combined with fact that the output embeddings are offset by
# masking, combined with the fact that output embeddings are offset by
# one position, ensures that the predictions for position $i$ can
# depend only on the known outputs at positions less than $i$.

Expand Down