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