Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent BatchEncoding from blindly passing casts down to the tensors …
…it contains. Fixes #6582. (#8860) Update src/transformers/tokenization_utils_base.py with review fix Co-authored-by: Lysandre Debut <lysandre@huggingface.co> Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
- Loading branch information