Instructions to use google/pegasus-x-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/pegasus-x-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/pegasus-x-large") model = AutoModelForSeq2SeqLM.from_pretrained("google/pegasus-x-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from google/pegasus-x-large: direct link, hf CLI and curl.
- Browser
- Download file 2.27 GB
-
https://huggingface.co/google/pegasus-x-large/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://google/pegasus-x-large/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/google/pegasus-x-large/resolve/main/pytorch_model.bin
2.27 GB
- Xet hash:
- 4feafe04cc8b015a70ea7aebd4860da92a2ad245a8efbde7a7fab2c3670e8f8b
- Size of remote file:
- 2.27 GB
- SHA256:
- 001d2ad657caac17a9443921e5741fc1d26f59d6ad055200eb978c88ccd6fc00
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.