Skip to content

Conversation

@dylanwhawk
Copy link
Contributor

This PR leverages PR #1469 to implement logit bias for completions/chat completions in the OpenAI entry point

@simon-mo simon-mo requested a review from esmeetu February 26, 2024 18:39
@dylanwhawk
Copy link
Contributor Author

@esmeetu I just added to ChatCompletionRequest and resolved conflicts

@esmeetu
Copy link
Member

esmeetu commented Feb 27, 2024

@dylanwhawk LGTM! Thanks for adding this feature!

@yuchenlin
Copy link

Thanks! Is there an example where we can use the feature in non API mode (i.e., the regular python function call for llm.generate)? Thanks!

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.

4 participants