InternLM / InternLM

Official release of InternLM2 7B and 20B base and chat models. 200K context support

Home Page:https://internlm.intern-ai.org.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] 微调eval阶段使用generate的结果会出现</s>

AZYoung233 opened this issue · comments

描述该错误

微调internlm2-7b的base模型,在eval阶段使用generate时几乎每一个结果都会出现,按理说这个token是一个pad_token,他似乎不应该大量出现在generate的结果中,我不确定这是什么原因,希望您可以抽空对我的问题进行回复,感谢~

环境信息

python 3.10.13
transformers 4.36.1
modelscope 1.10.0

其他信息

No response

您好,可否提供下具体的config与代码片段?

您好,可否提供下具体的config与代码片段?

您好,该bug已解决