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

Fix logprobs openai api #1985

Merged
merged 3 commits into from
Jul 12, 2024
Merged

Fix logprobs openai api #1985

merged 3 commits into from
Jul 12, 2024

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Jul 10, 2024

Motivation

When temperature is a small value like 0.01, the logprob may be -inf which cant not convert to json

@irexyc irexyc requested a review from zhulinJulia24 July 10, 2024 11:47
@lvhan028 lvhan028 self-requested a review July 11, 2024 06:41
@zhulinJulia24
Copy link
Collaborator

fixed. LGTM

@lvhan028 lvhan028 merged commit aa07f92 into InternLM:main Jul 12, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants