text_plain_output_5.png text_plain_output_4.png text_plain_output_3.png text_plain_output_2.png text_plain_output_1.png
from transformers import PegasusForConditionalGeneration, PegasusTokenizer

tokenizer_model_1 = PegasusTokenizer.from_pretrained('google/pegasus-large')
loaded_model_1 = PegasusForConditionalGeneration.from_pretrained('google/pegasus-large')