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