T5 Podcast Summariser
The aim of this project is to demonstrate the capabilities of Google's T5 model that has been fine-tuned on Spotify's Podcasts Dataset for automatic podcast summarisation. Simply pass in a podcast's transcript as input to the summariser, and it would output a summary containing the gist of what the podcast is about.
T5 and Spotify Podcast Dataset
- To learn more about T5, read this blog post
- To learn more about the Dataset, read its paper
Usage
This package relies on the HuggingFace NLP Library to work so you would have to install it too:
pip install transformers
pip install t5-podcast-summariser
You can now use the package as follows:
from t5_podcast_summariser import Summariser
summariser = Summariser()
transcript = """
Full Transcript of the podcast.....
"""
summary = summariser.summarise(transcript)
print(summary)
Below is a sample summary generated on a podcast transcript available here:
This week on the podcast, we talk to Ayodeji Ogunnia (@Ayodeji_Ogunnia) about his life as a bricklayer in Baltimore. We also hear from one of the most famous people in the world, and how he came to be a successful bricklayer. This is a great story for anyone who wants to learn more about what it means to be a good bricklayer. If you like what we do, please leave us a review on Apple Podcasts! Thanks for listening!
Future Work
In the next update, I will make it possible for the top-n sentences to be extracted from the transcript before a summary is generated.
Metadata
Release files for t5-podcast-summariser 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| t5_podcast_summariser-0.0.5.tar.gz | 2.9 kB | Without provenance | Details for t5_podcast_summariser-0.0.5.tar.gz |
Release files / t5_podcast_summariser-0.0.5.tar.gz
| Download URL | t5_podcast_summariser-0.0.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fee1496dd23ea736dbe7fde7f6f297e21c1111bc59e80bb158698862d1028cef
|
|
BLAKE2b-256 checksum How to use checksums |
92efa06501f94c8c5bfa6a7fe547b837fc62bf2fe50ca12c92af2c66f3b0b12f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for t5-podcast-summariser 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.