/text-summarization-distilbart-cnn

Summarize any text using the distilbart-cnn-12-6 model under the hood

Primary LanguageJupyter Notebook

Text Summarization with DistilBART-CNN

Welcome to the Text Summarization with DistilBART-CNN project! This project leverages the power of the sshleifer/distilbart-cnn-12-6 model to generate summaries from any text input.

Getting Started

Environment Setup

To get started, create a virtual environment and activate it:

virtualenv venv
source venv/bin/activate

Install Dependencies

Next, install the required dependencies using pip:

pip install -r requirements.txt

Run the Application

Now, you can run the application:

gradio app.py

This will start the application, allowing you to input text and receive a summary generated by the DistilBART-CNN model.

Usage

Simply input the text you want to summarize into the application's interface. The model will then process the input and provide a concise summary of the text.

Additional Resources

  • Check out the model on Hugging Face Spaces.
  • Check out the Colab notebook for this project on Open in Colab
  • Explore more about the DistilBART-CNN model here.

Feel free to reach out if you have any questions or feedback!