Skip to content

handle parallel function calls from gemini #406

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

Merged
merged 2 commits into from
May 9, 2024

Conversation

vandyxiaowei
Copy link
Contributor

@vandyxiaowei vandyxiaowei commented May 3, 2024

Handle parallel function calls for Gemini handler for the Berkeley Function Calling Leaderboard.

This PR does NOT change values in BFCL.

Copy link
Collaborator

@HuanzhiMao HuanzhiMao left a comment

Choose a reason for hiding this comment

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

Thanks for contributing @vandyxiaowei! LGTM

@ShishirPatil ShishirPatil merged commit 42f9d28 into ShishirPatil:main May 9, 2024
ShishirPatil pushed a commit that referenced this pull request May 15, 2024
Build on the work of @vandyxiaowei #406, this PR is a bug fix for the
generation pipeline for Gemini models ([Gemini-1.5-Pro
(FC)](https://deepmind.google/technologies/gemini/#introduction) and
[Gemini-1.0-Pro
(FC)](https://deepmind.google/technologies/gemini/#introduction)) to
make it more robust. The Gemini model output `result["candidates"][0]`
does not always have the key `"content"`, which would cause the current
generation pipeline to error out.

This PR **DOES NOT** change the leaderboard score.
ShishirPatil pushed a commit that referenced this pull request May 15, 2024
…ls from gemini) (#427)

This PR updates the leaderboard to reflect the change in score due to
the added support for parallel function calls for gemini series in #406.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants