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-00004-of-00008.bin from google/flan-ul2: direct link, hf CLI and curl.
- Browser
- Download file 4.96 GB
-
https://huggingface.co/google/flan-ul2/resolve/refs%2Fpr%2F17/pytorch_model-00004-of-00008.bin
- Command line
-
hf download hf://google/flan-ul2@refs/pr/17/pytorch_model-00004-of-00008.bin
-
curl -L -o pytorch_model-00004-of-00008.bin https://huggingface.co/google/flan-ul2/resolve/refs%2Fpr%2F17/pytorch_model-00004-of-00008.bin
4.96 GB
- Xet hash:
- af5e9b38b1729225db6a9c21b5af050f09555c7e04df8b83ceacc67ce6a85be4
- Size of remote file:
- 4.96 GB
- SHA256:
- 3bd08b4ba35a3eb643922118a7fc1e3a29c6163bb9539f7577e688dbe80dcc6b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.