Instructions to use philschmid/flan-ul2-20b-fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/flan-ul2-20b-fp16 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("philschmid/flan-ul2-20b-fp16") model = AutoModelForSeq2SeqLM.from_pretrained("philschmid/flan-ul2-20b-fp16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download createEndpoint.png from philschmid/flan-ul2-20b-fp16: direct link, hf CLI and curl.
- Browser
- Download file 90.6 kB
-
https://huggingface.co/philschmid/flan-ul2-20b-fp16/resolve/main/createEndpoint.png
- Command line
-
hf download hf://philschmid/flan-ul2-20b-fp16/createEndpoint.png
-
curl -L -o createEndpoint.png https://huggingface.co/philschmid/flan-ul2-20b-fp16/resolve/main/createEndpoint.png
90.6 kB
