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 pytorch_model.bin from google/flan-t5-small: direct link, hf CLI and curl.
- Browser
- Download file 308 MB
-
https://huggingface.co/google/flan-t5-small/resolve/refs%2Fpr%2F27/pytorch_model.bin
- Command line
-
hf download hf://google/flan-t5-small@refs/pr/27/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/google/flan-t5-small/resolve/refs%2Fpr%2F27/pytorch_model.bin
308 MB
- Xet hash:
- 1828f8d01c0aaba9c5c6540b7b02f40c80cdc72f90f50beb7e890ccbde67f37b
- Size of remote file:
- 308 MB
- SHA256:
- 4a8c0174fa3ee6fe2ffd0f6e21992d4ca4ad1e9b12bd14155b57479e27f56292
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.