3.```max_gen_len``` : Specify the maximum length of each sentence generated. If the model cannot generate ```<e>```, 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 :