Summarization
Transformers
TensorBoard
Safetensors
English
t5
text2text-generation
summarizer
text summarization
abstractive summarization
text-generation-inference
Instructions to use KipperDev/t5_summarizer_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KipperDev/t5_summarizer_model with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="KipperDev/t5_summarizer_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KipperDev/t5_summarizer_model") model = AutoModelForSeq2SeqLM.from_pretrained("KipperDev/t5_summarizer_model") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -86,3 +86,21 @@ summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
|
| 86 |
|
| 87 |
print(summary)
|
| 88 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
print(summary)
|
| 88 |
```
|
| 89 |
+
|
| 90 |
+
# Citation
|
| 91 |
+
|
| 92 |
+
**BibTeX:**
|
| 93 |
+
|
| 94 |
+
```bibtex
|
| 95 |
+
@article{kipper_t5_summarizer,
|
| 96 |
+
// SOON
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
# Authors
|
| 101 |
+
|
| 102 |
+
This model card was written by [Fernanda Kipper](https://www.fernandakipper.com/)
|
| 103 |
+
|
| 104 |
+
# How to Get Started with the Model
|
| 105 |
+
|
| 106 |
+
Use the code below to get started with the model.
|