Instructions to use google/flan-ul2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/flan-ul2 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/flan-ul2") model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-ul2") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
Adds /home/user/.cache/huggingface/hub/models--google--flan-ul2/snapshots/c3c064bbf111926650cb6aca765c9ff7e9f2c6e2/model-00005-of-00008.safetensors
060a779