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-22-58_7e5bb85d325c /events.out.tfevents.1687296186.7e5bb85d325c.431.1
- Xet hash:
- f7ddbfd57387009238b963f1ff52babb979f701a63ccb841ff48ed68d9ddaed3
- Size of remote file:
- 6.69 kB
- SHA256:
- afe714fa4ce6f4690792f9eb9c1f0fcdb5695fc719ba571ca885f056420f2d7d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.