Views
No views yet
t5-small for abstractive summarization
using a small subset of the CNN Daily Mail dataset, demonstrated in a Google Colab notebook.1from transformers import pipeline
2generator = pipeline('summarization', model='heba1998/t5-summarizer-finetuned-demo')
3generator('Input article text...')