Instructions to use google/mt5-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/mt5-xl with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/mt5-xl") model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-xl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from google/mt5-xl: direct link, hf CLI and curl.
- Browser
- Download file 15 GB
-
https://huggingface.co/google/mt5-xl/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://google/mt5-xl/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/google/mt5-xl/resolve/main/pytorch_model.bin
15 GB
- Xet hash:
- d1c495a669b70d872eadc5d136d596018292cb69af0a1d44daff82ef62d37753
- Size of remote file:
- 15 GB
- SHA256:
- e32f17c56414bb6834731148889b4314c2b6532824346a55ab7c1c54eb394dce
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.