Skip to content

Is that correct to do sft without labels, course they mask the prompt sentence like <im_start><im_end> #104

Open
@lixiangisdemon

Description

@lixiangisdemon

Hello! I truly appreciate the blogs you've posted about LLMs. I've gained a great deal from them. I have a question to ask you. When reading the blog "2024 - 07 - 29_Finetune_Llama31.html", I noticed that when you processed the dataset, you only converted the data into the chat_template format, but there was no process of processing labels. In this case, will the LLM model also learn sentences like <im_start>..<im_end>? And will it reduce the learning accuracy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions