Downloads · 30 days
19
17% of all-time downloads
juliensimon/t5-base-billsum
t5-base-billsum is a summarization model from juliensimon. Use it when you need a shorter version of a longer text. It is set up for transformers.
A T5 Base model fine-tuned for summarizing US Congressional bills using the BillSum dataset.
Downloads · 30 days
19
17% of all-time downloads
All-time downloads
115
Public
Repo size
2.7 GB
Likes
0
Public
Click a slice to open those files.
.bin892 MB · 100%
From the Hugging Face model README
A T5 Base model fine-tuned for summarizing US Congressional bills using the BillSum dataset.
Video walkthrough: Summarizing legal documents with Hugging Face and Amazon SageMaker
| Detail | Value |
|---|---|
| Base model | t5-base (220M parameters) |
| Task | Text summarization |
| Dataset | BillSum (US Congressional bills) |
| Framework | PyTorch |
from transformers import pipeline
summarizer = pipeline("summarization", model="juliensimon/t5-base-billsum")
summarizer("Summarize: " + bill_text, max_length=150)