transformers
Separate chat templates into a single file
#33957
Merged

Separate chat templates into a single file #33957

Rocketknight1 merged 33 commits into main from chat_template_files
Rocketknight1
HuggingFaceDocBuilderDev
ArthurZucker
Rocketknight1 Rocketknight1 force pushed to 09bbca94 1 year ago
Rocketknight1 Rocketknight1 force pushed to 0216160f 1 year ago
LysandreJik
CISC
Rocketknight1
Rocketknight1 Rocketknight1 force pushed to 34883577 1 year ago
Rocketknight1
Rocketknight1 Rocketknight1 marked this pull request as ready for review 1 year ago
zucchini-nlp
zucchini-nlp commented on 2024-10-11
Rocketknight1
Rocketknight1 Rocketknight1 force pushed from 0c98f4e8 to aef89c6f 1 year ago
Rocketknight1 Rocketknight1 force pushed from aef89c6f to 0c164ab0 1 year ago
Rocketknight1
Wauplin
Wauplin
Rocketknight1
LysandreJik LysandreJik requested a review from ArthurZucker ArthurZucker 1 year ago
Wauplin
julien-c
Rocketknight1
CISC
ArthurZucker
ArthurZucker commented on 2024-10-29
Rocketknight1 Rocketknight1 force pushed to 28004b87 1 year ago
Rocketknight1 Rocketknight1 force pushed to a6ff5383 1 year ago
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from ArthurZucker ArthurZucker 1 year ago
Rocketknight1 Rocketknight1 requested a review from LysandreJik LysandreJik 1 year ago
Rocketknight1 Initial draft
020b6d90
Rocketknight1 Add .jinja file loading for processors
b8f9e0f1
Rocketknight1 Add processor saving of naked chat template files
ca101e65
Rocketknight1 make fixup
82c357e2
Rocketknight1 Add save-load test for tokenizers
3775e2b7
Rocketknight1 Add save-load test for tokenizers
91483a0b
Rocketknight1 stash commit
47205a26
Rocketknight1 Try popping the file
820990b9
Rocketknight1 make fixup
2aeb3199
Rocketknight1 Pop the arg correctly
a92dc109
Rocketknight1 Pop the arg correctly
1d54b7d1
Rocketknight1 Add processor test
5b267487
Rocketknight1 Fix processor code
743a4a50
Rocketknight1 stash commit
455a297c
Rocketknight1 Processor clobbers child tokenizer's chat template
52614f3e
Rocketknight1 Processor clobbers child tokenizer's chat template
a200a427
Rocketknight1 make fixup
5c792bc8
Rocketknight1 Split processor/tokenizer files to avoid interactions
5305a87b
Rocketknight1 fix test
36564683
Rocketknight1 Expand processor tests
e412619b
Rocketknight1 Rename arg to "save_raw_chat_template" across all classes
bd816821
Rocketknight1 Update processor warning
50d374a1
Rocketknight1 Move templates to single file
a81a7e15
Rocketknight1 Move templates to single file
f9127c17
Rocketknight1 Improve testing for processor/tokenizer clashes
3878828d
Rocketknight1 Improve testing for processor/tokenizer clashes
74cd295a
Rocketknight1 Extend saving test
cf577e1a
Rocketknight1 Test file priority correctly
b97e76de
Rocketknight1 make fixup
e5b8b76a
Rocketknight1 Don't pop the chat template file before the slow tokenizer gets a look
5b40f040
Rocketknight1 Remove breakpoint
2159cdc7
Rocketknight1 make fixup
5b88768b
Rocketknight1 Fix error
1187047d
Rocketknight1 Rocketknight1 force pushed from a6ff5383 to 1187047d 1 year ago
ArthurZucker
ArthurZucker approved these changes on 2024-11-22
Rocketknight1
Rocketknight1 Rocketknight1 merged d5cf91b3 into main 1 year ago
Rocketknight1 Rocketknight1 deleted the chat_template_files branch 1 year ago
Wauplin
Rocketknight1

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone