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