Summarization
Transformers
PyTorch
TensorBoard
pegasus_x
text2text-generation
Generated from Trainer
Instructions to use grenmon/pegasus-x-large-finetuned-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use grenmon/pegasus-x-large-finetuned-summarization 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="grenmon/pegasus-x-large-finetuned-summarization")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("grenmon/pegasus-x-large-finetuned-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("grenmon/pegasus-x-large-finetuned-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training complete1
Browse files
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 0,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"forced_eos_token_id": 1,
|
| 6 |
+
"length_penalty": 0.8,
|
| 7 |
+
"max_length": 16384,
|
| 8 |
+
"num_beams": 8,
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"transformers_version": "4.28.0"
|
| 11 |
+
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2274845861
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fc7de35830f5be833afcf90dc59b38d10dcc0ed4064aac0aa6987898f24df8b
|
| 3 |
size 2274845861
|
runs/May12_15-25-40_e6d2ee25fc45/events.out.tfevents.1683905151.e6d2ee25fc45.10431.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ee3e657e920537bda1ae79ddb6f6d6b7ec1997c3b888c1c9039c132cae47222
|
| 3 |
+
size 8562
|
runs/May12_15-25-40_e6d2ee25fc45/events.out.tfevents.1683907376.e6d2ee25fc45.10431.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51466f8e2198c9443cc34077f96c2bae9b15a64bfb710c2be9fbccf4a379eb54
|
| 3 |
+
size 562
|