播客记录摘要
t5-podcast-summariser的Python项目详细描述
T5播客摘要
这个项目的目的是展示Google的T5模型的功能,该模型在Spotify的Podcasts数据集上进行了微调,以实现podcast的自动摘要。只需将播客的文本作为输入传递给摘要器,它将输出包含播客内容的摘要。在
T5和Spotify播客数据集
- 要了解有关T5的更多信息,请阅读this blog post
- 要了解有关数据集的更多信息,请阅读其paper
使用
此软件包依赖于HuggingFace NLP Library才能工作,因此您也必须安装它:
pip install transformers
pip install t5-podcast-summariser
现在可以按如下方式使用该包:
^{pr2}$以下是在播客记录中生成的示例摘要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!
今后的工作
在下一次更新中,我将使前n个句子被提取出来 在生成摘要之前的记录。在
- 项目
标签: