Fixes #17128 . (#17356)
Fixes #17128 . (#17356)

VisibleDeprecationWarning is addressed by specifying dtype=object when creating numpy array.
Update code based on review feedback.
Undo whitespace changes to tokenization_utils_base.py.

Co-authored-by: I like data <063403197e50ab482871d811590030979903766a@nym.hush.com>
huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers