-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add support for Jinja for chat model templates #1739
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 support for Jinja for chat model templates #1739
Conversation
@Rocketknight1 I'd be glad if you can review this and consider merging it :) |
This looks like it's using huggingface/jinja, so cc @xenova, but feel free to ask me if you want me to comment on any of the higher-level chat template stuff! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usage looks good to me!
Thanks for the PR! I'll be testing it locally to make sure everything works but looks good like this 😄 |
@nsarrazin Great! 🙌 |
Thanks for the contribution! 😄 |
* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <[email protected]>
* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <[email protected]>
* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <[email protected]>
* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <[email protected]>
* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <[email protected]>
See this issue for why people may want this:
#1525