Chinese-LLaMA-Alpaca icon indicating copy to clipboard operation
Chinese-LLaMA-Alpaca copied to clipboard

如何能让模型以stream方式输出问答?

Open jcxian opened this issue 1 year ago • 2 comments

合并lora权重后的模型,推理启动后,都是一次性输出回答,如何配置,或者修改代码,能够使得模型以一个字一个字的方式输出回答呢?

jcxian avatar May 23 '23 06:05 jcxian

暂时不支持,可以看看huggingface是否有类似的实现

iMountTai avatar May 23 '23 09:05 iMountTai

已经收到您的邮件,谢谢!

jcxian avatar May 23 '23 09:05 jcxian

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

github-actions[bot] avatar May 30 '23 22:05 github-actions[bot]

Closing the issue, since no updates observed. Feel free to re-open if you need any further assistance.

github-actions[bot] avatar Jun 03 '23 22:06 github-actions[bot]