transformers
[v5] Return a BatchEncoding dict from apply_chat_template by default
#41626
Merged

[v5] Return a BatchEncoding dict from apply_chat_template by default #41626

Rocketknight1 merged 11 commits into main from v5_chat_template_return_type
Rocketknight1
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 marked this pull request as ready for review 354 days ago
Rocketknight1
Rocketknight1 Rocketknight1 force pushed from 0f4f2007 to 93309597 348 days ago
qgallouedec
qgallouedec approved these changes on 2025-10-22
Rocketknight1 Rocketknight1 force pushed from b729fb73 to c452142a 339 days ago
Rocketknight1 Rocketknight1 added for_v5?
Rocketknight1 Rocketknight1 force pushed from 2acbd455 to abf71583 338 days ago
Rocketknight1 Flip the default return type for `apply_chat_template` to match the u…
61c3617d
Rocketknight1 Remove test_tokenization_for_chat tests, which no longer do anything …
edaacfd8
Rocketknight1 Remove test_tokenization_for_chat tests, which no longer do anything …
5fef4b90
Rocketknight1 Fix test_encode_message tests
2c2c27c4
Rocketknight1 Fix test_encode_message tests
2e06861d
Rocketknight1 Return dicts for Processor too
b2008c70
Rocketknight1 Fix mistral-common tests
edc79800
Rocketknight1 Catch one of the processors too
5e2f6917
Rocketknight1 revert test bug!
cd109e55
Rocketknight1 nit fix
054743b9
Rocketknight1 nit fix
137015ec
Rocketknight1 Rocketknight1 force pushed from abf71583 to 137015ec 338 days ago
github-actions
LysandreJik
LysandreJik approved these changes on 2025-10-31
Rocketknight1 Rocketknight1 merged 5f8d02f2 into main 338 days ago
Rocketknight1 Rocketknight1 deleted the v5_chat_template_return_type branch 338 days ago
awni
Rocketknight1
Cyrilvallez

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone