From 5fcc8f7e80152a4cbbe5ddfd8c79430ec6191257 Mon Sep 17 00:00:00 2001 From: weixing02 Date: Thu, 7 Jun 2018 20:38:28 +0800 Subject: [PATCH] fix link error --- 08.machine_translation/README.cn.md | 2 +- 08.machine_translation/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/08.machine_translation/README.cn.md b/08.machine_translation/README.cn.md index 65d78cb..5833fee 100644 --- a/08.machine_translation/README.cn.md +++ b/08.machine_translation/README.cn.md @@ -326,7 +326,7 @@ is_generating = False 6. 生成模式下的解码器调用: - - 首先,在序列生成任务中,由于解码阶段的RNN总是引用上一时刻生成出的词的词向量,作为当前时刻的输入,因此,使用`GeneratedInput`来自动完成这一过程。具体说明可见[GeneratedInput文档](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/howto/deep_model/rnn/recurrent_group_cn.md#输入)。 + - 首先,在序列生成任务中,由于解码阶段的RNN总是引用上一时刻生成出的词的词向量,作为当前时刻的输入,因此,使用`GeneratedInput`来自动完成这一过程。具体说明可见[GeneratedInput文档](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/v2/howto/rnn/recurrent_group_cn.md#输入)。 - 其次,使用`beam_search`函数循环调用`gru_decoder_with_attention`函数,生成出序列id。 ```python diff --git a/08.machine_translation/README.md b/08.machine_translation/README.md index 96effbd..d04d087 100644 --- a/08.machine_translation/README.md +++ b/08.machine_translation/README.md @@ -327,7 +327,7 @@ is_generating = False return out ``` -4. Define the name for the decoder and the first two input for `gru_decoder_with_attention`. Note that `StaticInput` is used for the two inputs. Please refer to [StaticInput Document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/v2/howto/rnn/recurrent_group_en.md#input) for more details. +1. Define the name for the decoder and the first two input for `gru_decoder_with_attention`. Note that `StaticInput` is used for the two inputs. Please refer to [StaticInput Document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/v2/howto/rnn/recurrent_group_cn.md#input) for more details. ```python decoder_group_name = "decoder_group" -- GitLab