How to use google/byt5-xl with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/byt5-xl") model = AutoModelForSeq2SeqLM.from_pretrained("google/byt5-xl")