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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/flan-ul2") model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-ul2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model-00002-of-00008.bin from google/flan-ul2: direct link, hf CLI and curl.
- Browser
- Download file 4.97 GB
-
https://huggingface.co/google/flan-ul2/resolve/refs%2Fpr%2F17/pytorch_model-00002-of-00008.bin
- Command line
-
hf download hf://google/flan-ul2@refs/pr/17/pytorch_model-00002-of-00008.bin
-
curl -L -o pytorch_model-00002-of-00008.bin https://huggingface.co/google/flan-ul2/resolve/refs%2Fpr%2F17/pytorch_model-00002-of-00008.bin
4.97 GB
- Xet hash:
- 8d0c4a993e7e38372681f90ab2d04542160f03418801951ce16597a828115447
- Size of remote file:
- 4.97 GB
- SHA256:
- 88bd28a99530e6bf4798e44a5897b64a926211fbe1d1ddb908562e55793c4ede
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.