/Text_summarization

Text summarization using the BART

Primary LanguageJupyter Notebook

News Article Summarization with BART

This repository contains Python code to summarize news articles using the BART (Bidirectional and Auto-Regressive Transformers) model.

Overview

  • Model: We use the facebook/bart-large-cnn pre-trained BART model for text summarization.

  • Usage: The provided Python script demonstrates how to summarize news articles using the BART model.

Getting Started

  1. Clone the repository:

  2. git clone https://github.com/sharadpatell/Text_summarization.git

  3. Install dependencies: pip install transformers

  4. Place your news article text file (news_article.txt) in the repository directory.

  5. Run the Python script: