transformers
Enable some Jinja extensions and add datetime capabilities
#32684
Merged

Enable some Jinja extensions and add datetime capabilities #32684

Rocketknight1 merged 14 commits into main from jinja_new_features
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from amyeroberts amyeroberts 1 year ago
HuggingFaceDocBuilderDev
amyeroberts
amyeroberts commented on 2024-08-14
amyeroberts
amyeroberts commented on 2024-08-15
Rocketknight1 Rocketknight1 force pushed to c098cf6e 1 year ago
Rocketknight1
Rocketknight1 Add new Jinja features:
ab4176b3
Rocketknight1 Add new Jinja features:
8d64c3ae
Rocketknight1 Fix strftime template
a3d3fbad
Rocketknight1 Add template strip() just to be safe
b9d9fb4a
Rocketknight1 Remove the do extension to make porting easier, and also because it's…
df2fa1e9
Rocketknight1 Rename test
adf0e55f
Rocketknight1 strftime -> strftime_now
9e1c9b13
Rocketknight1 Split test
66119c01
Rocketknight1 Update test to use strftime_now
97505afb
Rocketknight1 Refactor everything out into chat_template_utils
56ff91cf
Rocketknight1 Refactor everything out into chat_template_utils
34f0cbe9
Rocketknight1 Refactor everything out into chat_template_utils
d7edd37b
Rocketknight1 Refactor everything out into chat_template_utils
c4abca43
Rocketknight1 Refactor everything out into chat_template_utils
92401378
Rocketknight1 Rocketknight1 force pushed from e09da911 to 92401378 1 year ago
amyeroberts
amyeroberts approved these changes on 2024-08-22
Rocketknight1
Rocketknight1 Rocketknight1 merged 371b9c14 into main 1 year ago
Rocketknight1 Rocketknight1 deleted the jinja_new_features branch 1 year ago
amyeroberts
Rocketknight1

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone