transformers
add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer
#18693
Merged

add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer #18693

SaulLu
SaulLu add warning to let the user know that the method is slower that for…
0eccd8b4
SaulLu user warnings
8cacbe67
SaulLu SaulLu changed the title [WIP] add warning to let the user know that the `__call__` method is fast than `encode` + `pad` for a fast tokenizer [WIP] add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer 4 years ago
SaulLu
SaulLu commented on 2022-08-19
HuggingFaceDocBuilderDev
SaulLu fix layoutlmv2
1aef6940
SaulLu fix layout*
ac8462d7
SaulLu SaulLu changed the title [WIP] add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer 4 years ago
SaulLu SaulLu requested a review from sgugger sgugger 4 years ago
SaulLu SaulLu requested a review from LysandreJik LysandreJik 4 years ago
LysandreJik
LysandreJik commented on 2022-08-23
SaulLu change warnings into logger.warning
775002fb
SaulLu
SaulLu SaulLu requested a review from LysandreJik LysandreJik 4 years ago
LysandreJik
LysandreJik approved these changes on 2022-08-24
LysandreJik LysandreJik merged 6667b0d7 into main 4 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone