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

VLLM generator with stop_strings #39

Open
Myashka opened this issue Oct 11, 2024 · 0 comments
Open

VLLM generator with stop_strings #39

Myashka opened this issue Oct 11, 2024 · 0 comments

Comments

@Myashka
Copy link
Collaborator

Myashka commented Oct 11, 2024

Current version of vllm_chat generator does not support multiple stop_strings

if isinstance(transformers_settings.stop_strings, list):
    raise ValueError('You should use only 1 eos token with VLLM')

while SamplingParams has argument stop and its available to use stop=transformers_settings.stop_strings,

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

No branches or pull requests

1 participant