Skip to content

【bug】对于tool_call loss参数不生效 #9263

@bobo0810

Description

@bobo0810

Checklist / 检查清单

  • I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。

Bug Description / Bug 描述

背景:对于多轮对话数据,assistant是可以通过loss=true/false自定义是否学习,但是tool_call这样设置却没有生效。 (1)tool_call本质上也是assistant的内容 (2)agentic多轮学习中,非常需要屏蔽指定轮的assistant或者tool_call 。例如只需要学习回复范式时需要设置tool_call不学习的场景

How to Reproduce / 如何复现

目前现状:对于tool_call角色,loss配置是不生效的。
Image

Additional Information / 补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions