Instructions to use hf-internal-testing/tiny-random-pegasus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-pegasus with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-pegasus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download onnx/encoder_model.onnx from hf-internal-testing/tiny-random-pegasus: direct link, hf CLI and curl.
- Browser
- Download file 140 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-pegasus/resolve/refs%2Fpr%2F1/onnx/encoder_model.onnx
- Command line
-
hf download hf://hf-internal-testing/tiny-random-pegasus@refs/pr/1/onnx/encoder_model.onnx
-
curl -L -o encoder_model.onnx https://huggingface.co/hf-internal-testing/tiny-random-pegasus/resolve/refs%2Fpr%2F1/onnx/encoder_model.onnx
140 kB
- Xet hash:
- 2edddea02f261db753e73f8078551a260c729bcab313070fe728e3d40fc49a30
- Size of remote file:
- 140 kB
- SHA256:
- 38cb08833d71682eebbfb6f52ab890afe05eb7942fc16f1bfce70d1ea1d16ce4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.