model 4566d3f
yj commited on
How to use infinex/translation_model with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("infinex/translation_model")
model = AutoModelForSeq2SeqLM.from_pretrained("infinex/translation_model")