transformers
[V5] Return a BatchEncoding dict from apply_chat_template by default again
#42567
Merged

[V5] Return a BatchEncoding dict from apply_chat_template by default again #42567

Rocketknight1 merged 11 commits into main from v5_chat_template_return_type
Rocketknight1
Rocketknight1 Flip the default return type for `apply_chat_template` to match the u…
e31e4661
Rocketknight1 Remove test_tokenization_for_chat tests, which no longer do anything …
df855fe2
Rocketknight1 Remove test_tokenization_for_chat tests, which no longer do anything …
52f00286
Rocketknight1 Fix test_encode_message tests
caf73038
Rocketknight1 Fix test_encode_message tests
51f85bd4
Rocketknight1 nit fix
4117af18
Rocketknight1 Trigger tests
9ac45800
Rocketknight1 Remove test_tokenization_for_chat
3d595c69
Rocketknight1 make fixup
67797dce
Rocketknight1 Rocketknight1 marked this pull request as ready for review 27 days ago
github-actions
Rocketknight1 Add a little test to make sure that doesn't happen again
da06bdde
Rocketknight1 make fixup
a697124e
HuggingFaceDocBuilderDev
Rocketknight1
zucchini-nlp
zucchini-nlp approved these changes on 2025-12-04
Rocketknight1 Rocketknight1 merged ce53cc00 into main 25 days ago
Rocketknight1 Rocketknight1 deleted the v5_chat_template_return_type branch 25 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone