Instructions to use niltonseixas/summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use niltonseixas/summarizer with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("niltonseixas/summarizer", set_active=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ THis model aims to summarize general texts. It is just for studying purposes.
|
|
| 34 |
from transformers import pipeline
|
| 35 |
```
|
| 36 |
```
|
| 37 |
-
summarizer = pipeline("summarization", model="
|
| 38 |
```
|
| 39 |
```
|
| 40 |
text = """summarize: The Inflation Reduction Act lowers prescription drug costs, health care costs,
|
|
|
|
| 34 |
from transformers import pipeline
|
| 35 |
```
|
| 36 |
```
|
| 37 |
+
summarizer = pipeline("summarization", model="niltonseixas/summarizer")
|
| 38 |
```
|
| 39 |
```
|
| 40 |
text = """summarize: The Inflation Reduction Act lowers prescription drug costs, health care costs,
|