https://github.com/engichang1467/text-summarization-distilbart-cnn
Summarize any text using the distilbart-cnn-12-6 model under the hood
https://github.com/engichang1467/text-summarization-distilbart-cnn
distilbert huggingface text-summarization
Last synced: 7 months ago
JSON representation
Summarize any text using the distilbart-cnn-12-6 model under the hood
- Host: GitHub
- URL: https://github.com/engichang1467/text-summarization-distilbart-cnn
- Owner: engichang1467
- Created: 2024-03-14T06:06:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-14T07:11:36.000Z (over 1 year ago)
- Last Synced: 2025-01-17T18:28:57.253Z (9 months ago)
- Topics: distilbert, huggingface, text-summarization
- Language: Jupyter Notebook
- Homepage: https://huggingface.co/spaces/mca183/text-summarization-distilbart-cnn
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`](https://huggingface.co/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:
```bash
virtualenv venv
source venv/bin/activate
```### Install Dependencies
Next, install the required dependencies using pip:
```bash
pip install -r requirements.txt
```### Run the Application
Now, you can run the application:
```bash
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 [](https://huggingface.co/spaces/mca183/text-summarization-distilbart-cnn).
- Check out the Colab notebook for this project on [](https://colab.research.google.com/github/engichang1467/text-summarization-distilbart-cnn/blob/main/colab/test.ipynb)
- Explore more about the DistilBART-CNN model [here](https://huggingface.co/sshleifer/distilbart-cnn-12-6).Feel free to reach out if you have any questions or feedback!