Generate Summaries using Google’s Pegasus library

Pre-training with Extracted Gap-sentences for Abstractive SUmmarization Sequence-to-sequence models

Image for post
Image for post
Photo by Sudan Ouyang on Unsplash
Image for post
Image for post
Image for post
Image for post

Full code

PREDICTIONS: : India and Afghanistan on Monday discussed the evolving security situation in the region against the backdrop of a spike in terrorist violence in the country.

References

Data Science | Machine Learning | Python. Visit https://pythonsimplified.com/ for interesting articles on Python and Machine Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store