Spaces:
Sleeping
Sleeping
| title: Smart Summarizer | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| # Smart Summarizer | |
| Professional text summarization using three state-of-the-art models: | |
| - **TextRank**: Fast extractive summarization (graph-based) | |
| - **BART**: High-quality abstractive summarization | |
| - **PEGASUS**: Specialized abstractive model for summarization | |
| ## Features | |
| - π **Single Summary**: Generate summaries with individual models | |
| - βοΈ **Comparison**: Compare all three models side-by-side | |
| - π **Batch Processing**: Process multiple documents simultaneously | |
| - π **Evaluation**: ROUGE metrics and performance insights | |
| - π **File Support**: Upload .txt, .md, .pdf, .docx files | |
| ## Models | |
| ### TextRank (Extractive) | |
| - **Speed**: Very fast (~0.03s) | |
| - **Type**: Graph-based PageRank algorithm | |
| - **Best for**: Quick summaries, keyword extraction | |
| ### BART (Abstractive) | |
| - **Speed**: Moderate (~9s on CPU) | |
| - **Type**: Transformer encoder-decoder | |
| - **Best for**: Fluent, human-like summaries | |
| ### PEGASUS (Abstractive) | |
| - **Speed**: Moderate (~6s on CPU) | |
| - **Type**: Gap Sentence Generation pre-training | |
| - **Best for**: High-quality abstractive summaries | |
| ## Usage | |
| 1. Navigate to the web interface | |
| 2. Choose between single summary or model comparison | |
| 3. Input text directly or upload a supported file | |
| 4. Select your preferred model(s) | |
| 5. Generate and compare summaries | |
| ## Supported File Types | |
| - Plain text (`.txt`, `.md`) | |
| - PDF documents (`.pdf`) | |
| - Word documents (`.docx`, `.doc`) | |
| ## Author | |
| **Abdul Razzaq Ansari** | |
| ## Links | |
| - [GitHub Repository](https://github.com/Rajak13/Smart-Summarizer) | |
| - [Documentation](https://github.com/Rajak13/Smart-Summarizer/blob/main/QUICK_START.md) |