padding_side
is of type bool
when it should be Literal['right', 'left']
#36252
Labels
padding_side
is of type bool
when it should be Literal['right', 'left']
#36252
System Info
main branch
Who can help?
@amyeroberts
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils_base.py#L2816
Expected behavior
Should be
Literal['right', 'left']
as mentioned in the docs.https://huggingface.co/docs/transformers/en/main_classes/tokenizer#transformers.PreTrainedTokenizerFast.__call__.padding_side
The text was updated successfully, but these errors were encountered: