You could try to use Seq2Seq models for this (BART, T5 etc) where input seq would be the article and output seq the title. But both these models are large, T5 has a small variant t5-small which is around 230MB.