Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BFCL] Fix UNDERSCORE_TO_DOT for Locally-Hosted Models #854

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

HuanzhiMao
Copy link
Collaborator

@HuanzhiMao HuanzhiMao commented Dec 27, 2024

For locally hosted models, when doing inference, the . in the function name is replaced with _ (code section here). As a result, these models must be added to the UNDERSCORE_TO_DOT list so that their function names are correctly matched during evaluation. Previously, not all locally hosted models were included in that list. This PR fixed this issue by having the UNDERSCORE_TO_DOT list contain all models in the local_inference_handler_map.

@HuanzhiMao HuanzhiMao added the BFCL-General General BFCL Issue label Dec 27, 2024
@HuanzhiMao HuanzhiMao marked this pull request as ready for review December 27, 2024 08:16
@CharlieJCJ CharlieJCJ self-requested a review December 27, 2024 11:11
@HuanzhiMao HuanzhiMao marked this pull request as draft January 2, 2025 01:32
@minpeter
Copy link

I have a question before merging this. Why not convert dot to underscore for all models?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFCL-General General BFCL Issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants