Views
No views yet
facebook/bart-base for text summarization using the CNN/DailyMail dataset. It is designed to take long articles as input and generate concise summaries that capture the key points of the text.facebook/bart-base1from transformers import pipeline
2
3summarizer = pipeline("summarization", model="mirzajamal750/text_summarization")
4article = "Your long news article goes here..."
5summary = summarizer(article)
6print(summary)