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] Patch Gemini Handler #421

Merged
merged 4 commits into from May 15, 2024
Merged

Conversation

HuanzhiMao
Copy link
Contributor

@HuanzhiMao HuanzhiMao commented May 9, 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) and Gemini-1.0-Pro (FC)) 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.

Copy link
Contributor

@CharlieJCJ CharlieJCJ left a comment

Choose a reason for hiding this comment

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

LGTM

@ShishirPatil ShishirPatil merged commit 40b07a5 into ShishirPatil:main May 15, 2024
@vandyxiaowei
Copy link
Contributor

Thank you for the fix! @HuanzhiMao

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.

None yet

4 participants