Instructions to use google/ul2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/ul2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/ul2") model = AutoModelForSeq2SeqLM.from_pretrained("google/ul2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding generation config file(s)
371c0bb
-
Fix R vs S denoising documentation swap. (#2)
- Fix R vs S denoising documentation swap. (71c34c5c6e3e54c5bf2cee360c3edfaa42acc1b3) Co-authored-by: John St John <jstjohn@users.noreply.huggingface.co>39ecb93
-
Update README.md
9d8f8ca -
Update README.md
0198c1c -
Update README.md
e000016 -
add model
eeec07f -
initial commit
e339731