Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning situation: UserWarning: max_length is ignored when paddin…
…g=True" (huggingface#13829) * Removed wrong warning * Raise a warning when `max_length` is given with wrong `truncation` * Update the error message * Update the warning message Co-authored-by: Sylvain Gugger <[email protected]> Co-authored-by: Sylvain Gugger <[email protected]>
- Loading branch information