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
-
Adding ONNX file of this model
Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [uvgprojects](https://huggingface.co/uvgprojects), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!ee6f486
-
Update README.md
7bcac57
-
Update README.md (#11)
- Update README.md (85696bbb91affeac131e151098507abe7149855e) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>c782cba
-
Evaluation results for google/flan-t5-base model as a base model for other tasks (#10)
- Evaluation results for google/flan-t5-base model as a base model for other tasks (ae3bded3411b8b1b26d2536dc884d7ace212cd5f) Co-authored-by: Elad Venezian <eladven@users.noreply.huggingface.co>4e3c334
-
Adding `safetensors` variant of this model (#9)
- Adding `safetensors` variant of this model (0ff14384284b4f8d1dbead09ccc58a1b3ecc8e46) Co-authored-by: Luis Catacora <lucataco@users.noreply.huggingface.co>dc15260
-
Adding generation config file(s)
d224e0d
-
Update correct `gelu` function (#8)
- Update correct `gelu` function (d76732216083fbc26a721b5cf3a653978fdb64ef)c5050bc
-
Update README.md (#7)
- Update README.md (6159cc00953eb17571f41840fd0a590cacd727f7)c5674dc
-
Update README.md (#3)
- Update README.md (eaf5c16955459b3c599a94c806187ce7e4df0ae8)98d1823
-
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