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:
# pip install -U transformers accelerate # 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
Commit History
-
Update README.md
Loïck BOURDOISTo help with the referencing of the dataset by indicating the languages included in the multilingual model, only the xx language tags are listed here because they are the only currently taken into account by HF (not the xx-XX)973770f
-
upload flax model
f2298ef -
allow flax
ddbf0cc
-
Create README.md
ba05d2e -
add tf model
baa33cb
-
correct tokenizer
57cea0e
-
upload mt5 small
c83db3e -
initial commit
e3a0576