Views
No views yet
from transformers import pipelinesummarizer = 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)