Instructions to use hf-internal-testing/tiny-random-PegasusForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-PegasusForConditionalGeneration with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-PegasusForConditionalGeneration") model = AutoModelForSeq2SeqLM.from_pretrained("hf-internal-testing/tiny-random-PegasusForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f20d68176c9ec5e0fe2c42dde7c608fec79fa56d0737f229b92162904e827401
- Size of remote file:
- 6.22 MB
- SHA256:
- 4f164b1b6fb610c81e839d2ba530b88da4b1d23b9efe44c810c8cd55720f21ac
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.