summarizer / README.md
niltonseixas's picture
Update README.md
eabde07 verified
---
language:
- pt
library_name: adapter-transformers
---
# Summarizer
<!-- Provide a quick summary of what the model is/does. -->
THis model aims to summarize general texts. It is just for studying purposes.
### Model Description
<!-- Provide a longer summary of what this model is. -->
- **Developed by:** [Nilton Seixas]
- **Language(s) (NLP):** [English]
- **License:** [More Information Needed]
- **Finetuned from model [optional]:** [t5-small]
### Model Sources [optional]
<!-- Provide the basic links for the model. -->
- **Repository:** [niltonseixas/summarizer]
- **Paper [optional]:** [More Information Needed]
- **Demo [optional]:** [More Information Needed]
## Example
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
```
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)
```