未验证 提交 329ca855 编写于 作者: H Hongyu Liu 提交者: GitHub

fix rnn search readme bugs; test=develop (#2740)

上级 09a04584
...@@ -45,7 +45,7 @@ cd data && sh download_en-vi.sh ...@@ -45,7 +45,7 @@ cd data && sh download_en-vi.sh
`run.sh`包含训练程序的主函数,要使用默认参数开始训练,只需要简单地执行: `run.sh`包含训练程序的主函数,要使用默认参数开始训练,只需要简单地执行:
```sh ```sh
python run.sh sh run.sh
``` ```
```sh ```sh
...@@ -73,7 +73,7 @@ python run.sh ...@@ -73,7 +73,7 @@ python run.sh
当模型训练完成之后, 可以利用infer.py的脚本进行预测,默认使用beam search的方法进行预测,加载第10个epoch的模型进行预测,对test的数据集进行解码 当模型训练完成之后, 可以利用infer.py的脚本进行预测,默认使用beam search的方法进行预测,加载第10个epoch的模型进行预测,对test的数据集进行解码
```sh ```sh
python infer.sh sh infer.sh
``` ```
如果想预测别的数据文件,只需要将 --infer_file参数进行修改 如果想预测别的数据文件,只需要将 --infer_file参数进行修改
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册