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