Skip to content

Commit 1b92011

Browse files
FraLotitosoumith
authored andcommitted
Fix small typo (pytorch#106)
1 parent 5cf1edf commit 1b92011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/nlp/sequence_models_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def forward(self, sentence):
244244
# affixes have a large bearing on part-of-speech. For example, words with
245245
# the affix *-ly* are almost always tagged as adverbs in English.
246246
#
247-
# Do do this, let :math:`c_w` be the character-level representation of
247+
# To do this, let :math:`c_w` be the character-level representation of
248248
# word :math:`w`. Let :math:`x_w` be the word embedding as before. Then
249249
# the input to our sequence model is the concatenation of :math:`x_w` and
250250
# :math:`c_w`. So if :math:`x_w` has dimension 5, and :math:`c_w`

0 commit comments

Comments
 (0)