initial commit aef9a3b
Dan Semin commited on
How to use semindan/mt5_paws-x with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("semindan/mt5_paws-x")
model = AutoModelForSeq2SeqLM.from_pretrained("semindan/mt5_paws-x", device_map="auto")