first commit 4944c40
Abdullatif Koksal commited on
How to use akoksal/LongForm-T5-XL with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("akoksal/LongForm-T5-XL")
model = AutoModelForSeq2SeqLM.from_pretrained("akoksal/LongForm-T5-XL", device_map="auto")