Summarization
Transformers
PyTorch
TensorFlow
Safetensors
English
pegasus
text2text-generation
Eval Results (legacy)
Instructions to use human-centered-summarization/financial-summarization-pegasus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use human-centered-summarization/financial-summarization-pegasus 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="human-centered-summarization/financial-summarization-pegasus")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("human-centered-summarization/financial-summarization-pegasus") model = AutoModelForSeq2SeqLM.from_pretrained("human-centered-summarization/financial-summarization-pegasus", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
4c7b827
1
Parent(s): a720f82
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
-
tags:
|
|
|
|
| 5 |
datasets:
|
| 6 |
- xsum
|
| 7 |
metrics:
|
|
@@ -20,6 +21,7 @@ widget:
|
|
| 20 |
s third-largest lender. The entity\u2019s $46 billion market capitalization nearly\
|
| 21 |
\ matches that of Qatar National Bank QPSC, which is still the Middle East\u2019\
|
| 22 |
s biggest lender with about $268 billion of assets."
|
|
|
|
| 23 |
model-index:
|
| 24 |
- name: human-centered-summarization/financial-summarization-pegasus
|
| 25 |
results:
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
tags:
|
| 5 |
+
- summarization
|
| 6 |
datasets:
|
| 7 |
- xsum
|
| 8 |
metrics:
|
|
|
|
| 21 |
s third-largest lender. The entity\u2019s $46 billion market capitalization nearly\
|
| 22 |
\ matches that of Qatar National Bank QPSC, which is still the Middle East\u2019\
|
| 23 |
s biggest lender with about $268 billion of assets."
|
| 24 |
+
|
| 25 |
model-index:
|
| 26 |
- name: human-centered-summarization/financial-summarization-pegasus
|
| 27 |
results:
|