Instructions to use google/byt5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/byt5-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/byt5-small") model = AutoModelForSeq2SeqLM.from_pretrained("google/byt5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding ONNX file of this model
Verified signatureBeep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [CapMcTavish](https://huggingface.co/CapMcTavish), 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)!d316531
-
Adding generation config file(s)
68377bd
-
Update README.md (#1)
- Update README.md (5c32c817e0a0d507b50f2974eb8cb128d84fa0cb) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>ce8f3a4
-
Fix paper link
4e43a46
-
upload flax model
123a4dd -
allow flax
2fc342f
-
Update README.md
6ac99ee -
Create README.md
b0e0bef -
Merge branch 'main' of https://huggingface.co/google/byt5-small into main
aaf6c89 -
add config
c775c89 -
add files
e2a4d2e -
upload all byt5-small files
91963e5 -
initial commit
cb88800