Spaces:
Running
Running
metadata
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
- Navigate to the web interface
- Choose between single summary or model comparison
- Input text directly or upload a supported file
- Select your preferred model(s)
- Generate and compare summaries
Supported File Types
- Plain text (
.txt,.md) - PDF documents (
.pdf) - Word documents (
.docx,.doc)
Author
Abdul Razzaq Ansari