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…
0eccd8b4
user warnings
8cacbe67
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
commented
on 2022-08-19
fix layoutlmv2
1aef6940
fix layout*
ac8462d7
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
change warnings into logger.warning
775002fb
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub