Skip to content

crypter70/Text-Summarization-using-LangChain-and-BART-Large-CNN

Repository files navigation

Text Summarization using LangChain and BART Large CNN

Overview

This project features the development and implementation of an advanced text summarization system using LangChain and BART-Large-CNN. This project allows users to summarize long text entered in the app into a few sentences.

Streamlit: https://crypter70-text-summarization-using-langchain-and-bar-app-vvyyrc.streamlit.app/

Intial project screen: Screenshot 2024-03-19 at 21 09 58 Project screen after results: Screenshot 2024-03-19 at 21 10 18

Installation

  1. Clone the repository

    git clone https://github.com/crypter70/Text-Summarization-using-LangChain-and-BART-Large-CNN
    
  2. Create a virtual environment

    python -m venv env
    
  3. Install the requirements

    pip install -r requirements.txt
    
  4. Add the HUGGINGFACEHUB_API_TOKEN from HuggingFace to .env file

  5. Run the application

    streamlit run App.py
    

Reference

  1. LangChain Documentation
  2. bart-large-cnn

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages