PaddleHub icon indicating copy to clipboard operation
PaddleHub copied to clipboard

使用ernie_gen进行finetune自己的数据集

Open viego1999 opened this issue 3 years ago • 2 comments

使用ernie_gen进行finetune自己的数据集,生成的模型只能生成最长为51的句子,如何可以让其生成更长的句子呢?

viego1999 avatar Apr 29 '22 13:04 viego1999

您好,可以在finetune以及module导出阶段结合自己的数据集情况,适当增大max_encode_lenmax_decode_len这两个参数

linjieccc avatar May 09 '22 12:05 linjieccc

您好,可以在finetune以及module导出阶段结合自己的数据集情况,适当增大max_encode_lenmax_decode_len这两个参数

好的,谢谢解答!

viego1999 avatar May 10 '22 14:05 viego1999