ymcui / Chinese-LLaMA-Alpaca-2

中文LLaMA-2 & Alpaca-2大模型二期项目 + 64K超长上下文模型 (Chinese LLaMA-2 & Alpaca-2 LLMs with 64K long context models)
Apache License 2.0
7.06k stars 578 forks source link

对Alpaca2预训练后,回复内容很短 #449

Closed lry0223 closed 9 months ago

lry0223 commented 10 months ago

提交前必须检查以下项目

问题类型

效果问题

基础模型

Chinese-Alpaca-2 (7B/13B)

操作系统

Linux

详细描述问题

在对Alpaca-2模型进行pt预训练并合并原模型后吗,生成的回复非常短,如图。设置max_token或者在prompt中告诉模型尽可能详细回答都没有生效,请问应该如何解决 image

依赖情况(代码类问题务必提供)

# 请在此处粘贴依赖情况(请粘贴在本代码块里)

运行日志或截图

# 请在此处粘贴运行日志(请粘贴在本代码块里)
iMountTai commented 10 months ago

对Alpaca-2模型进行pt预训练并合并原模型后得到的应该是一个基底模型,非对话模型,能和你对话说明还具备之前的部分对话能力,但是因为你的训练已经更改了模型的权重,模型的回复会受到什么影响也不好说。可以试试选取回复长度比较长的SFT数据进一步对得到的模型做SFT,观察回复长度。

lry0223 commented 10 months ago

好的,感谢回答

github-actions[bot] commented 9 months ago

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] commented 9 months ago

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