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