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:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/ul2") model = AutoModelForSeq2SeqLM.from_pretrained("google/ul2") - Notebooks
- Google Colab
- Kaggle
model fails to load in web demo
#6
by Q4234 - opened
https://huggingface.co/google/ul2?text=j fails to load the model after 15 minutes or so.
Model google/ul2 time out
plus it seems to load waaaaay to slow, like half of the progressbar (20GB) in 15 minutes