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
Pegasus_multiNews_model / runs /Jun20_21-33-36_7e5bb85d325c /events.out.tfevents.1687296826.7e5bb85d325c.1586.0
- Xet hash:
- 4462bffcfbfde10c16a22415179c7c0d974a22d0124d1eee17d58888beed3c84
- Size of remote file:
- 8.36 kB
- SHA256:
- f635970a47d2e420074bc6c2e896d916630937ca03a45e3e87453ad7d4fcc933
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.