upload model files 56dbe0a
mind-yi commited on
How to use NUSTM/french-restaurant-mt5-small with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("NUSTM/french-restaurant-mt5-small")
model = AutoModelForSeq2SeqLM.from_pretrained("NUSTM/french-restaurant-mt5-small", device_map="auto")