Skip to content

loss_mask 在训练时候出现问题,nonetype object is not subscriptable #1048

@xiaochounikuaixiao

Description

@xiaochounikuaixiao

Image

使用ms-swift训练时候模型loss_mask部分出现问题,如图:

transformers==4.52.4

peft==0.15.2

deepspeed==0.15.2

ms-swift==3.6.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions