File size: 1,458 Bytes
be78ce3 6779930 722c992 be78ce3 722c992 be78ce3 6779930 be78ce3 af43646 722c992 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
---
title: Granite Document Summarization
emoji: π
colorFrom: blue
colorTo: gray
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
license: apache-2.0
short_description: Summarize documents with Granite models.
---
# Granite Document Summarization
A streamlined document summarization application powered by IBM's Granite 3.3 Large Language Model.
## Features
- Upload and process documents in multiple formats (PDF, DOCX, PPTX, HTML)
- Customize summaries by specifying the number of sentences (1-10) or paragraphs (1-3)
- GPU-optimized for fast processing
- Memory-efficient chunking and processing
## How It Works
1. Document Conversion: Uploaded documents are converted to markdown using Docling
2. Text Chunking: The text is split into manageable chunks with semantic boundaries preserved
3. Embedding Creation: Text chunks are converted to embeddings using Nomic Embed
4. Summary Generation: IBM Granite 3.3 generates concise summaries based on your specifications
## Requirements
- Python 3.9+
- GPU environment for optimal performance
- Dependencies listed in requirements.txt
## Usage
1. Upload a document (PDF, DOCX, PPTX, HTML)
2. Choose between sentence-based or paragraph-based summarization
3. Adjust the length using the slider or radio buttons
4. Click "Summarize" to generate your summary
## License
Apache 2.0
---
Check out the configuration reference at https://huggingface.co./docs/hub/spaces-config-reference |