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