PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

文本长度不能超过511

Open shguan2018 opened this issue 2 years ago • 1 comments

  1. 使用 simcse 进行训练
  2. 将模型用 paddle serving 进行布置 (CPU 方式)
  3. 如果传入的文本长度> 511,则 报错
  4. 如果用 GPU 方式布置 paddle serving, 传入的文本长度 > 511,则 不报错. Uploading QQ图片20220823140243.png…

shguan2018 avatar Aug 23 '22 06:08 shguan2018

QQ图片20220823140243

shguan2018 avatar Aug 23 '22 06:08 shguan2018

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] avatar Dec 08 '22 02:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。

github-actions[bot] avatar Dec 22 '22 16:12 github-actions[bot]