You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
提交前必须检查以下项目
问题类型
模型训练与精调
基础模型
Chinese-LLaMA-2 (7B/13B)
操作系统
Linux
详细描述问题
在
scripts/training/run_clm_pt_with_peft.py
Line 502 中,result["labels"] = result["input_ids"].copy()
把label和input_ids设置成完全相同。但预训练过程应该是预测下一个词,所以是否应该将labels右移一位呢?或者是否右移一位的操作已经在transformers或PEFT里已经实现了,所以这里才这样写的呢?谢谢!依赖情况(代码类问题务必提供)
运行日志或截图
The text was updated successfully, but these errors were encountered: