Skip to content

feat: use existing add_generation_prompt variable from config in temp… #1533

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

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

drbh
Copy link
Collaborator

@drbh drbh commented Feb 5, 2024

This PR adds support to read the add_generation_prompt from the config and use it in the chat template. If add_generation_prompt does not exist we default to false

@Narsil Narsil merged commit 1734540 into main Feb 7, 2024
@Narsil Narsil deleted the support-add-generation-prompt-in-template branch February 7, 2024 08:35
kdamaszk pushed a commit to kdamaszk/tgi-gaudi that referenced this pull request Apr 29, 2024
huggingface#1533)

This PR adds support to read the `add_generation_prompt` from the config
and use it in the chat template. If `add_generation_prompt` does not
exist we default to false
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