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
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.828ff24
-
Update README.md
452d74c
-
Typos update in README.md (#14)
- Typos update in README.md (5028a7bbb3dee9b3bb68e367631600d1dd9e91d3) Co-authored-by: Praneet Pabolu <deathReaper0965@users.noreply.huggingface.co>c3c064b
-
Set tokenizer model_max_length to 2048 (#10)
- Set tokenizer model_max_length to 2048 (880eaf54fcbcfb87e119a8c324ea7b98b17a747b) Co-authored-by: Joao Gante <joaogante@users.noreply.huggingface.co>a90bd52
-
Update README.md
5dfdc8c -
Update README.md
701c4a4 -
AutoModelForConditionalGeneration -> T5ForConditionalGeneration (#3)
- AutoModelForConditionalGeneration -> T5ForConditionalGeneration (8f7211daa43bf51809b7293b59b7b5a787477930) Co-authored-by: Koki Tanaka <gojiteji@users.noreply.huggingface.co>3d9a23c -
Update README.md
57f845f -
Update README.md
ac13457 -
Update README.md
50f8d3a -
Update README.md
75a0ff3 -
Update README.md (#2)
- Update README.md (789a1c780444af9a54cec6f3e3ac0e1e4cfb982d) Co-authored-by: Arthur Zucker <ArthurZ@users.noreply.huggingface.co>b5c5730 -
Create README.md (#1)
- Create README.md (c242559b11680bc15a00248693eade5235b7e937) Co-authored-by: Arthur Zucker <ArthurZ@users.noreply.huggingface.co>45377e4 -
Upload tokenizer
2153c0b -
Upload T5ForConditionalGeneration
c2e07e1 -
initial commit
Younes Belkadaf6076c3