-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 [jinja] Add support for evaluating logical expressions between non-…
…Booleans (#420) Adds support for computing logical expressions between non-Booleans, by considering their truthy nature. Needed for [this](https://discuss.huggingface.co/t/issue-with-llama-2-chat-template-and-out-of-date-documentation/61645/3) complicated chat template. (cc @Rocketknight1)
- Loading branch information
Showing
2 changed files
with
341 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.