零基础学nlp【3】 RNN encoder-decoder 与seq2seq
论文:Sutskever I, Vinyals O, Le Q V. Sequence to sequence learning with neural networks[C]//Advances in neural information processing systems. 2014: 3104-3112.
Cho K, Van Merriënboer B, Gulcehre C, et al. Learning phrase representations using RNN encoder-decoder for statistical machine translation[J]. arXiv preprint arXiv:1406.1078, 2014.
文章目录
写在前面 :本来自以为通过看网上的博客已经对seq2seq了解的比较清楚了,但是写上一篇博文时发现那篇论文注意力机制引用的RNN-encoder-decoder模型并不是我以为的seq2seq模型,于是决定把这两篇文章都看一下作为对比。
1RNN encoder-decoder
1.1主要内容
- 作者在论文中提出了 rnn-encoder-decoder模型,模型如下图所示,即对