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

Make token bans work again on HF loaders #6488

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

ThisIsPIRI
Copy link
Contributor

Token bans on HF don't work if SuppressTokensLogitsProcessor is removed, since they work by setting the suppress_tokens parameter.

Checklist:

@oobabooga
Copy link
Owner

Thanks, I wasn't aware of that.

@oobabooga oobabooga merged commit e1061ba into oobabooga:dev Oct 24, 2024
cyberfox pushed a commit to cyberfox/text-generation-webui that referenced this pull request Dec 6, 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.

2 participants