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 `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.6f07f87
-
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