pytorch mt5 seq2seq transformers text2text-generation
.gitattributes README.md config.json pytorch_model.bin special_tokens_map.json spiece.model tokenizer_config.json
MODEL_NAME = 'nonamenlp/news_gen' 

TOKENIZER_NAME = "nonamenlp/news_gen"

trained_model = MT5ForConditionalGeneration.from_pretrained(MODEL_NAME, return_dict=True)

tokenizer = T5Tokenizer.from_pretrained(TOKENIZER_NAME)