transformers
[ `TokenizationUtils`] Fix `add_special_tokens` when the token is already there
#28520
Merged

[ `TokenizationUtils`] Fix `add_special_tokens` when the token is already there #28520

ArthurZucker merged 6 commits into main from tokenizer-nits
ArthurZucker
ArthurZucker fix adding special tokens when the token is already there.
0313833d
ArthurZucker add a test
d1d22125
ArthurZucker add a test
b39c4e0f
ArthurZucker ArthurZucker changed the title Tokenizer-nits [ `TokenizationUtils`] Fix `add_special_tokens` when the token is already there 2 years ago
ArthurZucker nit
624abe3f
ArthurZucker ArthurZucker requested a review from amyeroberts amyeroberts 2 years ago
ArthurZucker ArthurZucker marked this pull request as ready for review 2 years ago
ArthurZucker fix the test: make sure the order is preserved
64fa9f58
amyeroberts
amyeroberts approved these changes on 2024-01-16
ArthurZucker Update tests/test_tokenization_common.py
1949bdcf
ArthurZucker ArthurZucker merged 716df5fb into main 2 years ago
ArthurZucker ArthurZucker deleted the tokenizer-nits branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone