rename variables named 'word' to 'token' in generate fn (#3119)
rename variables named 'word' to 'token' in generate fn (#3119)

* fix conflits

* fixed naming bug

* make style

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