News summarization using GRU

In this example, we will look into summarizing news articles using LSTMs. The data for this example was taken from CNN. The complete Python Notebook for this example can be found at Chapter08/02_example.ipynb, in the book's code repository. In addition to the basic architecture described previously, we will use an additional attention layer. It has been determined from text summarization research work that a  model with an attention mechanism can perform better than a model without one.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset