QwenLM / Qwen2.5

Qwen2.5 is the large language model series developed by Qwen team, Alibaba Cloud.
8.82k stars 551 forks source link

想确定一个SFT的一个细节 #853

Closed xiaomao19970819 closed 1 month ago

xiaomao19970819 commented 1 month ago

若使用官方给定的transformers的trainner进行训练,在计算ce loss时,prompt对应的token的loss没有被mask掉,我的理解是对的吗?

KIM20240815-913516
jklj077 commented 1 month ago

This has been raised mutiple times in the issues; please refer to those issues first.

We advise you to use training frameworks, including Axolotl, Llama-Factory, Swift, etc., to finetune your models with SFT, DPO, PPO, etc.