This model is the result of fine-tuning
t5-base on the
Spotify Podcast Dataset.
It is based on
Google's T5 which was pretrained on the
C4 dataset.
Authors: Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J. Liu
This model is intended to be used for automatic podcast summarisation. As creator provided descriptions
were used for training, the model also learned to generate promotional material (links, hashtags, etc) in its summaries, as such
some post processing may be required on the model's outputs.
If using on Colab, the instance will crash if the number of tokens in the transcript exceeds 7000. I discovered that the model
generated reasonable summaries even when the podcast transcript was truncated to reduce the number of tokens.
1from transformers import pipeline
2
3summarizer = pipeline("summarization", model="paulowoicho/t5-podcast-summarisation", tokenizer="paulowoicho/t5-podcast-summarisation")
4summary = summarizer(podcast_transcript, min_length=5, max_length=20)
5
6print(summary[0]['summary_text'])
This model is the result of fine-tuning
t5-base on the
Spotify Podcast Dataset.
Pre-processing was done on the original data before fine-tuning.