Fix `xxx_length` behavior when using XLNet in pipeline (#5319)
Fix `xxx_length` behavior when using XLNet in pipeline (#5319)


huggingface/transformers,huggingface/pytorch-transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers