Summarization
Transformers
PyTorch
Safetensors
English
pegasus
text2text-generation
Eval Results (legacy)
Instructions to use pszemraj/pegasus-large-summary-explain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pszemraj/pegasus-large-summary-explain 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="pszemraj/pegasus-large-summary-explain")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("pszemraj/pegasus-large-summary-explain") model = AutoModelForSeq2SeqLM.from_pretrained("pszemraj/pegasus-large-summary-explain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator
#2
by autoevaluator HF Staff - opened
- .gitattributes +0 -1
- model.safetensors +0 -3
.gitattributes
CHANGED
|
@@ -25,4 +25,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8d14b4b1a9bbdc179564a007282f80eac0bbe8491e5f4b5f65ca26851da1f432
|
| 3 |
-
size 2275264008
|
|
|
|
|
|
|
|
|
|
|
|