请问会支持qwen2.5中hermes的function call的训练方式吗?
Describe the feature 我看到qwen2.5的function call模板是仿照hermes格式训练的,请问ms-swift未来会支持这种格式吗?
同问。请问楼主的问题解决了吗?我也想基于qwen2.5 微调自定义的function call数据集。却发现,我的json文件中,工具返回的内容定义在"role" :"tool" 下,但是启动训练时,却发现被包装在 <|im_start|>user <|im_end|> 内。 是不是还不支持hermes格式?
https://github.com/modelscope/ms-swift/blob/main/examples/infer/demo_agent.py
https://github.com/modelscope/ms-swift/blob/main/examples/infer/demo_agent.py
感谢回复,我现在微调还不确定数据格式是否正确。我把msswift 升级为最新版本之后,训练时增加了--agent_template hermes 这个参数。然后工具返回的内容就包装在<|im_start|>user <tool_response> 工具返回的内容 </tool_response><|im_end|> 内 。这样对吗? 我理解这里的user不应该是tool吗?
请问你解决了这个问题嘛,最终格式是怎么样的呀?好像目前template完,还是你这样的。
please retry with latest swift and vllm, feel free to create a new issue if it the problem persists.