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
File size: 134 Bytes
0fc9ddf | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:495fa51e204676f1a857a9fc13c4c89f3f5ba9f480b898cebca02add25e6d749
size 307867048
|