from transformers import AutoTokenizer tokenizer = AutoTokenizer.from_pretrained('google/byt5-small')