Skip to content

使用Alpaca数据格式微调Qwen2.5模型似乎没有使用数据文件中设置的system #7592

@zhengyangyong

Description

@zhengyangyong

Reminder

  • I have read the above rules and searched the existing issues.

System Info

无需此信息

Reproduction

数据格式为Alpaca,提供了system字段:

Image

SFT设置的template为qwen:

Image

执行的时候,从日志中查看example,提示还是使用的默认system:

<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
xxxx<|im_end|>
<|im_start|>assistant
yyyyy<|im_end|>
```text

即You are a helpful assistant.


### Others

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    solvedThis problem has been already solved

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions