Ahmadzei's picture
added 3 more tables for large emb model
5fa1a76
You can set the source language in the tokenizer:
from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
en_text = "Do not meddle in the affairs of wizards, for they are subtle and quick to anger."