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

Does deepspeed-mii support prefix_allowed_tokens_fn? #477

Open
zcakzhuu opened this issue May 14, 2024 · 0 comments
Open

Does deepspeed-mii support prefix_allowed_tokens_fn? #477

zcakzhuu opened this issue May 14, 2024 · 0 comments

Comments

@zcakzhuu
Copy link

I use transformers pipeline to generate json dictionaries and I need to specify a prefix_allowed_tokens_fn such that the tokens that can be generated at some steps are fixed. By looking into the source code, it doesn't seem like the deepspeed pipeline support this. Could someone verify whether it is supported please?

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