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 2500
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:c6a276d1d749287ba978b6c7b718ed88808a9580cd056b857e3e669ac65f7905
|
| 3 |
size 2283804653
|
runs/Jun20_21-33-36_7e5bb85d325c/events.out.tfevents.1687296826.7e5bb85d325c.1586.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:d1ebbbf07d0421109ed575c07115b6234cdc22e45fa92732369eb8a6eef21867
|
| 3 |
+
size 8044
|