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
Download flax_model.msgpack from google/byt5-small: direct link, hf CLI and curl.
- Browser
- Download file 1.2 GB
-
https://huggingface.co/google/byt5-small/resolve/main/flax_model.msgpack
- Command line
-
hf download hf://google/byt5-small/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/google/byt5-small/resolve/main/flax_model.msgpack
1.2 GB
- Xet hash:
- b7b9f9a4aa6f6530ae6676ccd208ab7a185c22e4acc5d17e34f067ccc42b3191
- Size of remote file:
- 1.2 GB
- SHA256:
- b3aafee96d60e98aa18b3c7f73a2c5a2360f1f2f6df79361190a4c9e05c5ab21
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.