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