Instructions to use google/flan-t5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/flan-t5-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-base") model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Correct inference scripteaf5c16
-
Fix model name (#1)
- Fix model name (e7833bc34c6907231c404663e4d4546212d4ec07) Co-authored-by: Manuel Romero <mrm8488@users.noreply.huggingface.co>d2de2da -
Update README.md
fa5c922 -
Update README.md
caf3164 -
Create README.md
bef8395 -
add tf model
3c27a5f -
add tokenizer
1eae274 -
add pytorch weights
616dc34 -
Update config.json
72a2f2f -
add flax weights
ybelkada122b317 -
initial commit
Younes Belkadaf1efd95