With the advent of the information age, a large number of information has emerged, and people need to deal with more and more information. In this case, text summarization technology came into being. As a Text summarization model, Transformer has the problem of obtaining key text information and out of vocabulary, which is difficult to effectively solve and resulted in the accuracy of the generated summary not achieving the desired effect, an improved transformer model was proposed, The model constructs an Aggregation module between the encoder and decoder to make the generated abstract more appropriate to the original content ,and the pointer network is introduced at the decoding end of the model to complete the decoding of the text summary, The function of pointer network that allows the unlisted words in the vocabulary to be copied directly from the source text is used to generate a text summary, which improves the flexibility of summary generation, Using the News2016zh dataset to test the performance of the model.In the experimental results, the improved Transformer model performs better than the benchmark model on ROUGE evaluation indicators.