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

Added include_stop_str_in_output and length_penalty parameters to OpenAI API #2562

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

galatolofederico
Copy link
Contributor

@galatolofederico galatolofederico commented Jan 23, 2024

This PR adds the include_stop_str_in_output and length_penalty sampling parameters (defined here) to the OpenAI API parameters.

Note: The force push addresses a missing comma, corrected without making a new commit for a minor syntax fix.

@galatolofederico galatolofederico changed the title Added include_stop_str_in_output parameter to ChatCompletionRequest and CompletionRequest Added include_stop_str_in_output and length_penalty parameters to OpenAI API Jan 23, 2024
Copy link
Collaborator

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for your contribution!

@zhuohan123 zhuohan123 merged commit f1f6cc1 into vllm-project:main Jan 24, 2024
16 checks passed
@MarcoParola
Copy link

Nice fix!

NikolaBorisov pushed a commit to deepinfra/vllm that referenced this pull request Jan 31, 2024
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
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

3 participants