Transformers How to use Atnafu/mt5-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Atnafu/mt5-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Atnafu/mt5-base")
model = AutoModelForSeq2SeqLM.from_pretrained("Atnafu/mt5-base")