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_20-06-28_7e5bb85d325c /events.out.tfevents.1687291599.7e5bb85d325c.431.0
- Xet hash:
- 857d40a945443ac4ef847d5d87b29b62c82c72598602efb26a2502487c828e50
- Size of remote file:
- 7.31 kB
- SHA256:
- 8334acc83b9ff8762ea1c1e8a626333bd5bcb0695de62c0d0f8d0c05f459af8f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.