ERNIE icon indicating copy to clipboard operation
ERNIE copied to clipboard

文本生成任务在推理(测试)中“infer_data_params.json”这个json文件在哪呢?

Open ScarletBlaze opened this issue 3 years ago • 4 comments

你好,我想借助你们的模型测试一下文本生成的效果,在下载了预训练模型和代码后,执行测试代码提示发现缺少“infer_data_params.json”文件,请问这个文件在哪里可以得到呢?谢谢! params

ScarletBlaze avatar Jun 29 '22 08:06 ScarletBlaze

请问你预测的运行的代码python run_infer.py --param_path ./examples/cls_ernie_gen_infilling_ch_infer.json cls_ernie_gen_infilling_ch_infer.json配置文件中是否配置了"inference_model_path": 路径,该路径为你训练完模型后产生的文件夹

webYFDT avatar Jul 05 '22 05:07 webYFDT

同问,根据download_ernie_gen_base_ch.sh 下载的 http://bj.bcebos.com/wenxin-models/ernie_gen_base_ch_open.tgz 模型文件中没有这个json文件

deandean82 avatar Jul 06 '22 09:07 deandean82

同问,我下载http://bj.bcebos.com/wenxin-models/ernie_3.0_base_ch_open.tgz出来的也没 image

freecui avatar Jul 28 '22 04:07 freecui

估计要先训练,然后再去推理

freecui avatar Aug 02 '22 09:08 freecui

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reopen it. Thank you for your contributions.

stale[bot] avatar Oct 01 '22 15:10 stale[bot]