Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
PreTrainedTokenizerBase
to check/handle batch length for `te…
…xt_pair` parameter (huggingface#11486) * Update tokenization_utils_base.py * add assertion * check batch len * Update src/transformers/tokenization_utils_base.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * add error message Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
- Loading branch information