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