Skip to content

Commit

Permalink
Merge pull request ageron#508 from GuillaumeDD/fix-typo-chapter_16
Browse files Browse the repository at this point in the history
Fix a minor typo in chapter 16
  • Loading branch information
ageron authored Nov 27, 2021
2 parents 4934eb4 + 49dac39 commit 3d673b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 16_nlp_with_rnns_and_attention.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@
"source": [
"Let's first try the simplest possible model: we feed in the input sequence, which first goes through the encoder (an embedding layer followed by a single LSTM layer), which outputs a vector, then it goes through a decoder (a single LSTM layer, followed by a dense output layer), which outputs a sequence of vectors, each representing the estimated probabilities for all possible output character.\n",
"\n",
"Since the decoder expects a sequence as input, we repeat the vector (which is output by the decoder) as many times as the longest possible output sequence."
"Since the decoder expects a sequence as input, we repeat the vector (which is output by the encoder) as many times as the longest possible output sequence."
]
},
{
Expand Down

0 comments on commit 3d673b9

Please sign in to comment.