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

Align prompt with tokens #201

Closed
wants to merge 1 commit into from
Closed

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented Jul 19, 2023

Closes #161

@rlouf rlouf added text Linked to text generation enhancement labels Jul 19, 2023
@rlouf rlouf force-pushed the token-prompt-alignment branch from 9dfdb7b to 96a10f0 Compare July 24, 2023 11:47
@rlouf
Copy link
Member Author

rlouf commented Nov 8, 2023

This PR is taking the wrong approach. We should instead use Regex-guided generation by taking the text of the boundary tokens as the beginning of the regex.

@rlouf rlouf closed this Dec 6, 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

Successfully merging this pull request may close these issues.

Implement prompt/generation alignment
1 participant