Skip to content

Commit b5fcf99

Browse files
authored
Update transformer_tutorial.py
1 parent 29496ca commit b5fcf99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/transformer_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
######################################################################
3131
# In this tutorial, we train a ``nn.TransformerEncoder`` model on a
32-
# language modeling task. Please note that this tutorial does not cover
32+
# causal language modeling task. Please note that this tutorial does not cover
3333
# the training of `nn.TransformerDecoder <https://pytorch.org/docs/stable/generated/torch.nn.TransformerDecoder.html#torch.nn.TransformerDecoder>`__, as depicted in
3434
# the right half of the diagram above. The language modeling task is to assign a
3535
# probability for the likelihood of a given word (or a sequence of words)

0 commit comments

Comments
 (0)