Downloads · 30 days
0
niltonseixas/summarizer
summarizer is a machine learning model from niltonseixas. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for adapter-transformers.
THis model aims to summarize general texts. It is just for studying purposes.
Downloads · 30 days
0
Access
Public
Updated Nov 17, 2024
Repo size
726 MB
Likes
0
Public
Click a slice to open those files.
.bin242 MB · 99%
From the Hugging Face model README
THis model aims to summarize general texts. It is just for studying purposes.
from transformers import pipeline
summarizer = pipeline("summarization", model="niltonseixas/summarizer")
text = """summarize: The Inflation Reduction Act lowers prescription drug costs, health care costs,
and energy costs. It's the most aggressive action on tackling the climate crisis in American history,
which will lift up American workers and create good-paying, union jobs across the country.
It'll lower the deficit and ask the ultra-wealthy and corporations to pay their fair share.
And no one making under $400,000 per year will pay a penny more in taxes."""
summarizer(text)