Spaces:
Sleeping
Sleeping
File size: 1,724 Bytes
b0841b6 fa5ed82 fc84fda b0841b6 fc84fda b0841b6 fc84fda b0841b6 a0ac0fb fc84fda 935d87e b0841b6 fa5ed82 fc84fda fa5ed82 a0ac0fb fa5ed82 a0ac0fb fc84fda 935d87e fc84fda fa5ed82 fc84fda fa5ed82 fc84fda fa5ed82 |
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 |
---
title: T5 Email Summarizer Demo v3
emoji: π§
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: true
license: apache-2.0
models:
- wordcab/t5-small-email-summarizer
datasets:
- argilla/FinePersonas-Conversations-Email-Summaries
space_hardware: "cpu-basic"
---
# T5 Email Summarizer - Interactive Demo v3
This Space provides an interactive demo of the [wordcab/t5-small-email-summarizer](https://huggingface.co/wordcab/t5-small-email-summarizer) model.
## π§ v3 Major Updates
- **Separate Subject/Body fields** for better email structure
- **General title normalization** (Mr. β Mr, Dr. β Dr, Prof. β Prof)
- **Improved unicode handling** for special characters
- **Robust preprocessing** that handles all edge cases
## Features
- π― **Dual-mode summarization**: Brief (1-2 sentences) or Full (detailed)
- π **Fast inference**: Quick processing even on CPU
- πͺ **Robust**: Handles typos, abbreviations, and informal language
- π **Auto-detect**: Automatically chooses brief or full based on email length
- π§ **Smart preprocessing**: General solution for title and unicode issues
## Model Details
- **Architecture**: T5-small (60M parameters)
- **Training Data**: [argilla/FinePersonas-Conversations-Email-Summaries](https://huggingface.co/datasets/argilla/FinePersonas-Conversations-Email-Summaries) (364K examples)
- **Max Input**: 512 tokens (~2500 characters)
- **License**: Apache 2.0
## Try It Out
1. Enter subject line (optional) and email body separately
2. Select summary type or use auto-detect
3. Click "Generate Summary"
The model will produce a concise, accurate summary with automatic normalization of titles and special characters! |