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

Add add_generation_prompt to apply_chat_template #32

Merged
merged 1 commit into from
Dec 15, 2024
Merged

Conversation

eriknovak
Copy link
Owner

This PR uses add_generation_prompt to add the assistant role message prefix to the generation input. This makes the code cleaner and generalizes the output generation.

@eriknovak eriknovak added the enhancement New feature or request label Dec 15, 2024
@eriknovak eriknovak merged commit 7599267 into main Dec 15, 2024
12 checks passed
@eriknovak eriknovak deleted the cleanup/llm branch December 15, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant