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