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

Commit
4 years ago
add warning to let the user know that the `__call__` method is faster than `encode` + `pad` for a fast tokenizer (#18693) * add warning to let the user know that the method is slower that for a fast tokenizer * user warnings * fix layoutlmv2 * fix layout* * change warnings into logger.warning
Author
Parents
Loading