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