Skip to content

Conversation

@michyli
Copy link

@michyli michyli commented Sep 16, 2025

Adds support for ByteDance Seed-OSS-36B-Instruct model

@HuanzhiMao HuanzhiMao added the BFCL-New Model Add New Model to BFCL label Sep 30, 2025
@DevonPeroutky
Copy link

Was about to make a similar PR until I saw this! Thanks for doing this


formatted_prompt += "For each function call, return the function call in the exact format:\n"
formatted_prompt += "[function_name(parameter1=value1, parameter2=value2)]\n\n"
formatted_prompt += "IMPORTANT:\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @michyli , where did this section come from? For example, the word IMPORTANT never shows up in the Jinja2 template you pasted in the doc string. The _format_prompt function logic seems very different than the Jinja2 template.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the Jinja template is Seed's full native format, and it uses XML-style tool calls and includes functionalities not needed for leaderboard evals, like the think budget. The leaderboard expects function calls in python-style format ([function_name(param=value)]), which is different than the native XML style tool calls Seed has. The IMPORTANT section is there to ensure the output format of the model matches what the leaderboard expects, and not default to its native XML format or generate placeholder function name, causing evals to fail. I've had previous runs without this section and the output format doesn't match the expected and fails the evals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BFCL-New Model Add New Model to BFCL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants