Generation
M2M100 uses the eos_token_id as the decoder_start_token_id for generation with the target language id 
being forced as the first generated token. To force the target language id as the first generated token, pass the 
forced_bos_token_id parameter to the generate method. The following example shows how to translate between 
Hindi to French and Chinese to English using the facebook/m2m100_418M checkpoint.
thon