From a5277a93216b695739ae005329b089a2d5da0e6e Mon Sep 17 00:00:00 2001 From: Lv Xiao Date: Thu, 19 Apr 2018 19:20:27 +0800 Subject: [PATCH] Update README_en.md https://github.com/PaddlePaddle/models/issues/718 --- generate_sequence_by_rnn_lm/README_en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_sequence_by_rnn_lm/README_en.md b/generate_sequence_by_rnn_lm/README_en.md index 41c000d9..0dfb9a86 100644 --- a/generate_sequence_by_rnn_lm/README_en.md +++ b/generate_sequence_by_rnn_lm/README_en.md @@ -115,8 +115,8 @@ model_path = "models/rnn_lm_pass_00000.tar.gz" `` 3. ```max_gen_len``` : Specify the maximum length of each sentence generated. If the model cannot generate ``````, the generation process will automatically terminate when ```max_gen_len``` words are generated. 4. ```beam_size``` : The width of each step of the Beam Search algorithm. 5. ```model_path``` : Specify the path to the trained model. - Among them, the gen_file holds the text prefix to be generated, and each prefix is in one line. The format is as follows: - ```若隐若现 地像 幽灵 , 像 死神``` + Among them, the gen_file holds the text prefix to be generated, and each prefix is in one line. The format is as follows: + ```若隐若现 地像 幽灵 , 像 死神``` Write the text prefix to be generated into the file in this format; * Run the ```python generate.py``` command to run the beam search algorithm to generate the text for the input prefix. Here are the results generated by the model : ```81 若隐若现 地像 幽灵 , 像 死神 -- GitLab