Fix DataCollatorForWholeWordMask (#8379)
Fix DataCollatorForWholeWordMask (#8379)

* Fix DataCollatorForWholeWordMask

* Replace all tensorize_batch in data_collator.py
huggingface/transformers,huggingface/pytorch-transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers