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

Forbid specific sequences in generations #156

Open
rlouf opened this issue Jun 21, 2023 · 0 comments
Open

Forbid specific sequences in generations #156

rlouf opened this issue Jun 21, 2023 · 0 comments
Labels
enhancement text Linked to text generation

Comments

@rlouf
Copy link
Member

rlouf commented Jun 21, 2023

I propose to forbid sequences in generated completions using a not_in keyword argument to Completion. This can be implemented using masking and re-weighing.

@rlouf rlouf added text Linked to text generation enhancement labels Jun 21, 2023
@rlouf rlouf changed the title Forbid sequences in generations Forbid specific sequences in generations Jun 21, 2023
@rlouf rlouf added this to the 0.1 milestone Jul 13, 2023
@rlouf rlouf removed this from the 0.1 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement text Linked to text generation
Projects
None yet
Development

No branches or pull requests

1 participant