Views
No views yet
t5-small trained on scene summaries from the first 5 episodes of The Summer I Turned Pretty. This model turns scene descriptions or dialogue into short, clear summaries.1from transformers import pipeline
2
3summarizer = pipeline("summarization", model="Lazabriellholland/summer-summary-model")
4text = "Belly and Conrad talk on the beach about last summer."
5summary = summarizer(text)[0]['summary_text']
6print(summary)