Training in progress, step 248 b3afbf3 verified
Hoang Pham commited on
How to use hoganpham/my_first_summarization_model with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("hoganpham/my_first_summarization_model")
model = AutoModelForSeq2SeqLM.from_pretrained("hoganpham/my_first_summarization_model", device_map="auto")