Instructions to use usakha/Pegasus_multiNews_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usakha/Pegasus_multiNews_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="usakha/Pegasus_multiNews_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usakha/Pegasus_multiNews_model") model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Pegasus_multiNews_model") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2283804653
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8131e896826bd67539cac9846225d9c8e48652920361d054e647470b00697735
|
| 3 |
size 2283804653
|
runs/Jun26_00-22-29_440de87d9a0e/events.out.tfevents.1687739063.440de87d9a0e.427.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e78f28a297501acf5be19254a20c6ed9bba3007e60cf3be29db0a6cb57bfca1
|
| 3 |
+
size 6686
|
runs/Jun26_00-28-37_440de87d9a0e/events.out.tfevents.1687739321.440de87d9a0e.427.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e7074b8dc1d313be6a35ef5ab899a96a737a3f74b16178ce1289203b2295072
|
| 3 |
+
size 6843
|
tokenizer.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
-
"max_length":
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
|
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
+
"max_length": 1024,
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4155
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd53436b59f5941f17992f0efa384a662e230651be4c5b1810eb1636dd47a866
|
| 3 |
size 4155
|