Instructions to use google/flan-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/flan-t5-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-small") model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
fd85ef1
-
Update README.md (#6)
- Update README.md (0b5d28bde0ce18dfdc77342c4f41fd09d57c7292) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>f6b63ff
-
Adding generation config file(s)
9471d3b
-
Revert `text-generation` tag
371f99f -
Try with text generation (#5)
- Try with text generation (10075d4e31e1dc24b6a86e4394097ff9f7a9914e)64ebf49
-
Update config.json (#4)
- Update config.json (2fc50d597467b0bfb5c6ae8d235fca759acc0c34)ec9123e
-
Update README.md (#3)
- Update README.md (03cbdd0673ec5d4a5d6dda117080fd1b2c15584e)e486595
-
Update README.md (#2)
- Update README.md (8332223e6d2e8749732bc5157779bea926d00167)0394f94
-
Fix model name (#1)
- Fix model name (a48786a3515bf61ef2336c378bf27cf317c8df36) Co-authored-by: Manuel Romero <mrm8488@users.noreply.huggingface.co>99ac30c -
Update README.md
7d61589 -
Update README.md
10b5db0 -
Update README.md
eca1487 -
Create README.md
6982b03 -
add tf model
1f81a17 -
add tokenizer
7e10e8d -
add pytorch weights
de1899f -
Update config.json
71a93b7 -
add flax weights
ybelkadaea3dc9f -
initial commit
Younes Belkada9fc8dd5