Transformers How to use LifuWang/DistillT5 with Transformers:
# Load model directly
from transformers import AutoTokenizer, T5EncoderWithProjection
tokenizer = AutoTokenizer.from_pretrained("LifuWang/DistillT5")
model = T5EncoderWithProjection.from_pretrained("LifuWang/DistillT5")